React Font Awesome Icon

npm i --save @fortawesome/fontawesome-svg-core
npm install --save @fortawesome/free-solid-svg-icons
npm install --save @fortawesome/react-fontawesome

import ReactDOM from 'react-dom'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faBackspace, faTrash } from '@fortawesome/free-solid-svg-icons'

const element = () => {
	return (
    <>
	    <FontAwesomeIcon icon={faBackspace} />
        {/*Or*/}
   	    <FontAwesomeIcon icon={faTrash} />
    </>
    )
}
Techie Oriname