npm install react-textfit --save
import { Textfit } from 'react-textfit';
class App extends Component {
render() {
return (
<Textfit
mode="single"
forceSingleModeWidth={false}>
Fat headline!
</Textfit>
);
}
}