0.0.3 • Published 2 years ago
rnmaterialicons v0.0.3
React Native Material Icons
React native implementation for the popular MaterialIcons
Install
Using yarn
yarn add rnmaterialicons
Using npm
npm install rnmaterialicons
This library relies on the react-native-svg
package to render svg icons. Install the react-native-svg
package,
yarn add react-native-svg
or
npm install react-native-svg
Usage
import {MaterialIcon, TYPES} from 'rnmaterialicons';
<MaterialIcon name="home" size="48" color="red" type={TYPES.ROUND}>
Props
Prop | Default | Description |
---|---|---|
name | remixicon-fill | Name of the icon. Explore MaterialIcons |
size | 24 | Size of the icon |
color | black | Color of the icon |
type | round | round filled outlined sharp |