Jason Otero 37eff7fa00 Release 6.6.0 (#20295) 4 months ago
..
LICENSE.txt c0f460dca7 Release 6.5.2 (#20179) 7 months ago
README.md 2885a3cfb8 Move files out of the free directory 11 months ago
index.d.ts 37eff7fa00 Release 6.6.0 (#20295) 4 months ago
package.json 37eff7fa00 Release 6.6.0 (#20295) 4 months ago

README.md

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

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

npm

What is this package?

Font Awesome 6 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.