react font awesome
npm i --save @fortawesome/fontawesome-svg-core
npm install --save @fortawesome/free-solid-svg-icons
npm install --save @fortawesome/react-fontawesome
npm install --save @fortawesome/free-brands-svg-icons
npm install --save @fortawesome/free-regular-svg-iconsnpm install --save @fortawesome/fontawesome-free$ npm i --save @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons @fortawesome/react-fontawesome
import ReactDOM from 'react-dom'import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'import { faCoffee } from '@fortawesome/free-solid-svg-icons' const element = <FontAwesomeIcon icon={faCoffee} /> ReactDOM.render(element, document.body)
Also in JavaScript:
- lodash debounce
- react function exec when button is clicked
- javascript array reorder elements
- js query string
- json server
- showing file download progress in angular
- how to cast to javascript executor
- array differenc javascript
- best js method
- sleeping in js
- javascript get distinct values from array
- how to redirect to another page in javascript on submit type
- javascript get intersection of two arrays
- js copy array into another
- .shift js
- airbnb react native eslint
- how to get width of inline elements js
- string comparison in javascript
- how to format json file in vs code
- input output ionic
- Prevent Multiple Form Submissions With JQuery
- generate module with routing in angular
- w3schools json
- convert csv to json powershell code