UNPKG

@j4jinxx/icon

Version:

Minimal Icon React Component

25 lines (17 loc) 778 B
# Icon Minimal Icon React Component. To Use Icon component, you must first add the Material Icons Font CSS. View [Material Icons Guide](https://developers.google.com/fonts/docs/material_icons) ![npm bundle size](https://img.shields.io/bundlephobia/min/@j4jinxx/icon) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@j4jinxx/icon) ![npm download](https://img.shields.io/npm/dm/@j4jinxx/icon.svg) ## Install npm i @j4jinxx/icon ## Import import Icon from '@j4jinxx/icon'; ## Props | Name | Type | Default | Description | |----------|:-------|:----------------|:------------| | icon | string | stop | Icon name | | color | string | inherit | Icon Color | | size | number | 24 | Icon size |