@react-native-vector-icons/fontawesome-pro-duotone-regular
v1.1.2
Published
Fontawesome Pro Duotone Regular font for react native vector icons
Readme
React Native Vector Icons - Fontawesome Pro Duotone Regular
Fontawesome Pro Duotone Regular 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-duotone-regularCustom Fonts
This package requires you to provide the font files. Place your .ttf font
file in the following location:
rnvi-fonts/fontawesome-pro-duotone-regular/fa-duotone-regular-400.ttfThe font will be automatically copied during the build process for both iOS and Android.
Usage
import { FontAwesomeProDuotoneRegular } from '@react-native-vector-icons/fontawesome-pro-duotone-regular';
// ...
<FontAwesomeProDuotoneRegular 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-duotone-regular"]
}
}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
