Package Exports
- react-native-ico-miscellaneous
- react-native-ico-miscellaneous/src/data
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-ico-miscellaneous) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Miscellaneous Icons for React Native
react-native-ico-miscellaneous
433 Icons
Usage
import Icon from 'react-native-ico-miscellaneous';
// Inside some view component
render() {
return (
<>
<Icon name="right-arrow" />
<Icon name="diagonal-arrow" height="40" width="40" />
<Icon name="diagonal-arrow-1" color="red" />
</>
);
}
List of icons
Installation
yarn
yarn add react-native-ico-miscellaneous react-native-svgnpm
npm install --save react-native-ico-miscellaneous react-native-svgLink react-native-svg
react-native link react-native-svgpod install ( for iOS )
cd ios && pod install && cd ..API
<Icon name [color width height ...rest] />
Returns a SvgXml icon by name and group.
| name | optional | default value | description | examples |
|---|---|---|---|---|
| name | no | name of file | "right-arrow" | |
| color | yes | line color, css style | "#00ff00", "#0f0", "green" | |
| width | yes | 20 | width of the icon | 40 |
| height | yes | 20 | height of the icon | 40 |
| ...rest | no | other props | style={{backgroundColor: "#00f"}} |
Icons Made by
Created by
Dimitry Ivanov 2@ivanoff.org.ua # curl -A cv ivanoff.org.ua