😀Icon 图标
图标组件,用于显示图标。 基于 Font Awesome 图标库。
基本属性
| 属性名 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| type | String | 'fa-check' | 图标类型,参考 Font Awesome 图标库 |
| size | String | '1x' | 图标大小,参考 Font Awesome 图标库 |
vue
<bm-icon type="fa-check" size="2x"></bm-icon>
<bm-icon type="arrow-right" size="2x"></bm-icon>
<bm-icon type="arrow-left" size="2x"></bm-icon>
<bm-icon type="arrow-up" size="2x"></bm-icon>
<bm-icon type="arrow-down" size="2x"></bm-icon>
<bm-icon type="arrow-right" size="2x"></bm-icon>
<bm-icon type="fa-user" size="2x"></bm-icon>
<bm-icon type="fa-search" size="2x"></bm-icon>
<bm-icon type="fa-home" size="2x"></bm-icon>