remixicon-native
v1.1.3
Published
RemixIcon for React Native
Downloads
23
Maintainers
Readme
remixicon-native
RemixIcon for React Native
RemixIcon - version 4.2.0
This package provides RemixIcon component:
- fully static types (even name prop)
- newest RemixIcon version (4.2.0 contains all new icons)
- simple
- built with react-native-svg, react-native-reanimated
- animation support
Hope it will be useful for you.
Installation
Expo
npx expo install remixicon-native
React Native CLI
npm i remixicon-native
If react-native-svg, react-native-reanimated haven't been installed automatically, do it manually
npm install react-native-svg react-native-reanimated
Usage
import { RemixIcon } from 'remixicon-native';
// ...
<RemixIcon
name="remixicon-line" //required
color="white" //optional, default = 'white'
size={36} //optional, default = 24
//to animate color or size, simply pass SharedValue (not SharedValue.value!!)
/>;
///...
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library