Created
August 15, 2021 12:49
-
-
Save KevinVR/42c9ae7b38e35f922076ac3b70fb5700 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'; | |
import Text from './Text.jsx'; | |
function MyComponent() { | |
const BigRedText = styled(Text)` | |
font-size: 40px; | |
color: red; | |
`; | |
return <BigRedText> | |
This should be a big red text! | |
</BigRedText>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment