Rob Madole 7d3d774145 Release 5.15.4 (#18141) 3 years ago
..
LICENSE.txt 1975bba5c4 Release 5.6.1 (#14397) 6 years ago
README.md 57451ba758 Release 5.11.0 (#15564) 5 years ago
attribution.js 7d3d774145 Release 5.15.4 (#18141) 3 years ago
index.d.ts 7d3d774145 Release 5.15.4 (#18141) 3 years ago
package.json 7d3d774145 Release 5.15.4 (#18141) 3 years ago

README.md

@fortawesome/fontawesome-common-types - SVG with JavaScript

"I came here to chew bubblegum and install Font Awesome 5 - and I'm all out of bubblegum"

npm

What is this package?

Font Awesome 5 JavaScript packages support TypeScript. This package abstracts out some of the common definitions that those packages use.

Here be dragons

If you are trying to import types from this package we highly recommend you do the following instead as all types in this package are re-exported to the main fontawesome package.

your.ts

import {
  IconName
} from `@fortawesome/fontawesome-svg-core`

const myIcon: IconName = "..."

Issues and support

Start with GitHub issues and ping us on Twitter if you need to.