@react-native-vector-icons/fontisto
Version:
Fontisto font for react native vector icons
55 lines (34 loc) • 1.24 kB
Markdown
# React Native Vector Icons - Fontisto
Fontisto font for React Native Vector Icons
See the [React Native Vector Icons README](../../README.md) for more details.
## Installation
```sh
npm install @react-native-vector-icons/fontisto
```
## Usage
```jsx
import { Fontisto } from '@react-native-vector-icons/fontisto/static';
// or with dynamic font loading (see the Expo setup guide for details)
import { Fontisto } from '@react-native-vector-icons/fontisto';
// ...
<Fontisto name="house" color="#ff0000" size={20} />
```
### Expo Config Plugin
This package ships an [Expo config plugin](../../docs/SETUP-EXPO.md). Add it to the `plugins` array in your `app.json` or `app.config.js` if you use static imports:
```json
{
"expo": {
"plugins": ["@react-native-vector-icons/fontisto"]
}
}
```
## 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 | 3.0.4 |
## Contributing
See the [contributing guide](../../CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
## License
MIT