Created
May 21, 2019 15:28
-
-
Save donghoon-song/40522ec5b841ed1ce70bee437c6fad73 to your computer and use it in GitHub Desktop.
React styled-components v4 : removal of .extend => If you are using the .extend API, switch your components to use styled(StyledComponent) instead.
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, { createGlobalStyle } from "styled-components"; | |
const Anchor = styled(Button.withComponent("a"))` | |
text-decoration: none; | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment