0.1.1 • Published 6 years ago
@icedesign/icon v0.1.1
title: Icon category: Components
chinese: 业务组件图标
使用
import ReactDOM from 'react-dom'
import IceIcon from '@icedesign/icon';
ReactDOM.render(<IceIcon type="qrcode"/>, mountNode);
Props
参数 | 说明 | 类型 | 默认值 | 可选值 |
---|---|---|---|---|
type | icon 名称 | string | 无 | 详见 demo |
size | icon 尺寸 | string | medium | xxs xs small medium large xl xxl xxxl |