1.0.6 • Published 2 years ago
@riil-frontend/component-riil-icon v1.0.6
RiilIcon
适配原生 iconfont 图标库的 Icon 组件,为 next Icon 组件的扩展组件。透传 Icon 原有属性,扩展一个 iconfontHead 属性。
组件自动识别图标库是fusion原生或者是iconfont项目包
API
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
type | next.Icon type 属性透传 | - | string | ||
size | next.Icon size 属性透传 | - | string | ||
iconfontHead | 请使用 iconfont 站点下载字体包中,iconfont.css 中类名的前缀 | - | string | icon- | 默认使用iconfont新监控图标(临时)项目 |