UNPKG

@react-native-vector-icons/simple-line-icons

Version:

Simple Line Icons font for react native vector icons

55 lines (34 loc) 1.32 kB
# React Native Vector Icons - Simple Line Icons Simple Line Icons 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/simple-line-icons ``` ## Usage ```jsx import { SimpleLineIcons } from '@react-native-vector-icons/simple-line-icons/static'; // or with dynamic font loading (see the Expo setup guide for details) import { SimpleLineIcons } from '@react-native-vector-icons/simple-line-icons'; // ... <SimpleLineIcons 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/simple-line-icons"] } } ``` ## 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 | | ------------ | ---------------- | | &gt; 12.0.0 | 2.5.5 | ## Contributing See the [contributing guide](../../CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow. ## License MIT