In React I need to import the common faTable
Font Awesome icon which is free and should be available as <FontAwesomeIcon icon={faTable} />
.
All the modules are successfully installed as follows, note the @fortawesome/free-regular-svg-icons
module which I assume contains the free icons:
"dependencies": {
..
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-regular-svg-icons": "^6.5.2", <-- NOTE THIS ONE, I assume this has the free icons
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "^0.2.1",
But the free-regular-svg-icons
only has a very limited set that doesn’t have faTable
. It does have some other ones like faSquare
, for instance. The module is found and has some icons, but not this one, which should also be common and free.
import { faTable, faSquare } from "@fortawesome/free-regular-svg-icons";
Error on faTable
only (not faSquare
):
Module '"@fortawesome/free-regular-svg-icons"' has no exported member 'faTable'
So what free module do I need to install to get the faTable
icon?