Created
October 20, 2017 22:15
-
-
Save maciejmatu/5558628fe94416069152ad5bdb94cd3c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import styled from 'styled-components'; | |
const HeaderText = styled.h1` | |
font-size: ${ props => props.large ? 32 : 24 }px; | |
color: wheat; | |
text-transform: uppercase; | |
`; | |
export default () => ( | |
<HeaderText large>Looks Cool</HeaderText> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment