Last active
November 30, 2017 21:28
-
-
Save wschenk/c6053366dd1a4c90d7bdba047464ef0c to your computer and use it in GitHub Desktop.
material-ui fonts example
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 React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import './index.css'; | |
import App from './App'; | |
import registerServiceWorker from './registerServiceWorker'; | |
import WebFont from 'webfontloader' | |
WebFont.load({ | |
google: { | |
families: ['Roboto:300,500,700'] | |
} | |
}); | |
ReactDOM.render(<App />, document.getElementById('root')); | |
registerServiceWorker(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment