styled components global styles fonts google code example
Example: styled components import google font
injectGlobal`
@import url(‘https://fonts.googleapis.com/css?family=Montserrat:400,900|Roboto');
body {
padding: 0;
margin: 0;
font-family: Roboto, sans-serif;
}
h1 {
font-family: Montserrat;
}
`