@react-native-vector-icons/foundation
v13.1.2
Published
Foundation font for react native vector icons
Readme
React Native Vector Icons - Foundation
Foundation font for React Native Vector Icons
See the React Native Vector Icons README for more details.
Installation
npm install @react-native-vector-icons/foundationUsage
import { Foundation } from '@react-native-vector-icons/foundation/static';
// or with dynamic font loading (see the Expo setup guide for details)
import { Foundation } from '@react-native-vector-icons/foundation';
// ...
<Foundation name="house" color="#ff0000" size={20} />Expo Config Plugin
This package ships an Expo config plugin. Add it to the plugins array in your app.json or app.config.js if you use static imports:
{
"expo": {
"plugins": ["@react-native-vector-icons/foundation"]
}
}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 | | ------------ | ---------------- | | > 12.0.0 | 2.0.0 |
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
