• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

README.mdH A D16-Mar-2021983 2816

index.d.tsH A D16-Mar-202128.1 KiB1,6361,630

package.jsonH A D16-Mar-20211.2 KiB5757

README.md

1# @fortawesome/fontawesome-common-types - SVG with JavaScript
2
3> "I came here to chew bubblegum and install Font Awesome 5 - and I'm all out of bubblegum"
4
5[![npm](https://img.shields.io/npm/v/@fortawesome/fontawesome-common-types.svg?style=flat-square)](https://www.npmjs.com/package/@fortawesome/fontawesome-common-types)
6
7## What is this package?
8
9Font Awesome 5 JavaScript packages support TypeScript. This package abstracts out some of the common definitions that those packages use.
10
11## Here be dragons
12
13If 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*.
14
15your.ts
16
17```
18import {
19  IconName
20} from `@fortawesome/fontawesome-svg-core`
21
22const myIcon: IconName = "..."
23```
24
25## Issues and support
26
27Start with [GitHub issues](https://github.com/FortAwesome/Font-Awesome/issues) and ping us on [Twitter](https://twitter.com/fontawesome) if you need to.
28