Created
July 7, 2017 09:26
-
-
Save jikkujose/0ff93c7a29be80144a5dde514fac1d73 to your computer and use it in GitHub Desktop.
Style Components global style injection
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 { injectGlobal } from 'styled-components'; | |
injectGlobal` | |
body { | |
font-family: Lato; | |
} | |
` | |
// import the file in the root index file as: | |
// import './styles/global.js' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment