Created
February 19, 2018 20:27
-
-
Save philipusis/1bda4b5bceeb9919812655b589427b87 to your computer and use it in GitHub Desktop.
Styled components extend
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
//Способ 1 | |
const CityForward = City.extend``; | |
//Способ 2 | |
const CityWrapper = styled(City); | |
const CityForwardTwo = CityWrapper.extend``; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment