react native custom icon
Very

Add the dependency:
npm i react-native-custom-icon"react": ">= 16.x",
"react-native": ">= 0.55.x",
"react-native-vector-icons": ">= 6.x.x"import MyIcon from "react-native-custom-icon";
import IcomoonConfig from "./assets/icomoon/selection.json";
<MyIcon name="fireworks" color="red" size={50} config={IcomoonConfig} />;![]()
| Property | Type | Default | Description |
|---|---|---|---|
| name | string | null | use this to set icon's name |
| color | color | null | use this to set icon's color |
| size | number | 16 | use this to change icon's size |
| config | JSON | null | must use this to provide which config and data to use as IconConfig |
FreakyCoder, [email protected]
React Native Custom Icon Library is available under the MIT license. See the LICENSE file for more info.