Debian Codegraph @

js-packages/@fortawesome/fontawesome-common-types/README.md

raw symbols SCIP
1 # @fortawesome/fontawesome-common-types - SVG with JavaScript
2
3 > "I came here to chew bubblegum and install Font Awesome 7 - 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
9 Font Awesome 7 JavaScript packages support TypeScript. This package abstracts out some of the common definitions that those packages use.
10
11 ## Here be dragons
12
13 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*.
14
15 your.ts
16
17 ```
18 import {
19 IconName
20 } from `@fortawesome/fontawesome-svg-core`
21
22 const myIcon: IconName = "..."
23 ```
24
25 ## Issues and support
26
27 Start with [GitHub issues](https://github.com/FortAwesome/Font-Awesome/issues) and ping us on [Twitter](https://twitter.com/fontawesome) if you need to.