0.0.3 • Published 3 years ago
rnmaterialicons v0.0.3
React Native Material Icons
React native implementation for the popular MaterialIcons
Install
Using yarn
yarn add rnmaterialiconsUsing npm
npm install rnmaterialiconsThis library relies on the react-native-svg package to render svg icons. Install the react-native-svg package,
yarn add react-native-svgor
npm install react-native-svgUsage
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 |