import facebook square font awesome react code example
Example 1: font awesome react
npm install --save @fortawesome/fontawesome-free
Example 2: react font awesome
$ npm i --save @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons @fortawesome/react-fontawesome