get font awesome icons

This commit is contained in:
Nawaz Dhandala
2022-02-20 12:56:59 +00:00
parent 64c0d35946
commit a48317b6f3
3 changed files with 27160 additions and 27145 deletions

54290
dashboard/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -5,9 +5,9 @@
"dependencies": {
"@date-io/date-fns": "^1.3.11",
"@date-io/moment": "^1.3.13",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/fontawesome-svg-core": "^1.3.0",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.16",
"@fortawesome/react-fontawesome": "^0.1.17",
"@material-ui/core": "^4.11.4",
"@material-ui/pickers": "^3.3.10",
"@nivo/bar": "^0.73.1",

View File

@@ -0,0 +1,11 @@
import React from 'react'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
export default Icon = ({
icon,
size
}) => (
<span>
<FontAwesomeIcon icon={icon} size={size} />
</span>
)