1npm install --save font-awesome
2import '../node_modules/font-awesome/css/font-awesome.min.css';
3or
4import 'font-awesome/css/font-awesome.min.css';
5Don't forget to use className as attribute
6 render: function() {
7 return <div><i className="fa fa-spinner fa-spin">no spinner but why</i></div>;
8}
1npm install --save @fortawesome/free-brands-svg-icons npm install --save @fortawesome/free-regular-svg-icons