Given the react code bellow:
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import 'typeface-roboto';
import Typography from '@material-ui/core/Typography';
const App = class extends Component {
render() {
return <Typography variant="h1">Hello React App!</Typography>;
}
}
const root = document.getElementById('root');
ReactDOM.render(<App />, root);
if I comment import 'typeface-roboto'; nothing changes in my application.
Could someone explain me why?
sandbox: https://codesandbox.io/s/x2n59kj2lq