Back to React Native Vector Icons

React Native Vector Icons - Fontawesome Pro Sharp Duotone Solid

packages/fontawesome-pro-sharp-duotone-solid/README.md

10.2.01.4 KB
Original Source

React Native Vector Icons - Fontawesome Pro Sharp Duotone Solid

Fontawesome Pro Sharp Duotone Solid font for React Native Vector Icons

See the React Native Vector Icons README for more details.

[!IMPORTANT] This package does not include the fonts. You must provide them yourself.

Installation

sh
npm install @react-native-vector-icons/fontawesome-pro-sharp-duotone-solid

Custom Fonts

This package requires you to provide the font files. Place your .ttf font file in the following location:

rnvi-fonts/fontawesome-pro-sharp-duotone-solid/fa-sharp-duotone-solid-900.ttf

The font will be automatically copied during the build process for both iOS and Android.

Usage

jsx
import { FontAwesomeProSharpDuotoneSolid } from '@react-native-vector-icons/fontawesome-pro-sharp-duotone-solid';

// ...

<FontAwesomeProSharpDuotoneSolid name="house" color="#ff0000" size={20} />

Versions

Prior to version 12, the version of this font package tracked the upstream version.

The table below tracks which font version is included in each package version.

RNVI versionUpstream version
> 0.1.07.1.0
> 0.1.17.2.0

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT