@fortawesome/fontawesome-common-types
TypeScript icon, indicating that this package has built-in type declarations

6.5.2 • Public • Published

@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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @fortawesome/fontawesome-common-types

      Weekly Downloads

      2,027,276

      Version

      6.5.2

      License

      MIT

      Unpacked Size

      790 kB

      Total Files

      5

      Last publish

      Collaborators

      • jasonlundien
      • devoto13
      • jrjohnson
      • robmadole
      • supercodepoet
      • fortawesome-admin
      • mwilkerson