@react-native-vector-icons/fontawesome-pro-sharp-duotone-solid
v1.1.0
Published
Fontawesome Pro Sharp Duotone Solid font for react native vector icons
Downloads
441
Readme
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
npm install @react-native-vector-icons/fontawesome-pro-sharp-duotone-solidCustom 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.ttfThe font will be automatically copied during the build process for both iOS and Android.
Usage
import { FontAwesomeProSharpDuotoneSolid } from '@react-native-vector-icons/fontawesome-pro-sharp-duotone-solid';
// ...
<FontAwesomeProSharpDuotoneSolid name="house" color="#ff0000" size={20} />Expo Config Plugin
This package ships an Expo config plugin to register the font with iOS. Add it to the plugins array in your app.json or app.config.js:
{
"expo": {
"plugins": ["@react-native-vector-icons/fontawesome-pro-sharp-duotone-solid"]
}
}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 version | Upstream version | | ------------ | ---------------- | | > 0.1.0 | 7.1.0 | | > 0.1.1 | 7.2.0 |
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
