Package Exports
- @aiui/ai-icon
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 (@aiui/ai-icon) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
AiIcon
Minimal Icon React Component.
To Use AiIcon component, you must first add the Material Icons Font CSS.
Install
npm i @aiui/ai-iconImport
import AiIcon from '@aiui/ai-icon';Props
| Name | Type | Default | Description |
|---|---|---|---|
| icon | string | stop | Icon name |
| color | string | inherit | Icon Color |
| size | number | 24 | Icon size |