Wondering what’s next for npm?Check out our public roadmap! »

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

    0.2.35 • Public • Published

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

    Install

    npm i @fortawesome/fontawesome-common-types

    DownloadsWeekly Downloads

    1,069,245

    Version

    0.2.35

    License

    MIT

    Unpacked Size

    148 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar