@draftbit/re-font-awesome-pro

0.2.0-0 • Public • Published

Font Awesome Pro in ReasonML

Usage

<FontAwesomePro.Icon icon=FontAwesomePro.Duotone.faArrowRight />

<FontAwesomePro.Icon
  icon=FontAwesomePro.Solid.faCheck
  className="PrimaryIcon"
/>

Installation

This requires a token for font awesome in your .npmrc. As an example:

@fortawesome:registry=https://npm.fontawesome.com/
//npm.fontawesome.com/:_authToken=XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX

This library uses optional dependencies for the individual font libraries, so make sure you include the ones you want to use in your project. For example:

$ yarn add '@fortawesome/pro-regular-svg-icons@^5'

Generate the binding files

The reason bindings for each font style are generated by a script genbindings.js, which you can run directly or with:

yarn gen-icon-bindings

Compiler Commands

yarn re:clean
yarn re:build
yarn re:watch

Readme

Keywords

Package Sidebar

Install

npm i @draftbit/re-font-awesome-pro

Weekly Downloads

1

Version

0.2.0-0

License

MIT

Unpacked Size

770 kB

Total Files

12

Last publish

Collaborators

  • sieuhuflit
  • s0laster
  • youssefhenna
  • bluerssen
  • adnelson