Icon 图标

使用指南

在 app.json 或 index.json 中引入icon 组件

{
  "usingComponents": {
    "fs-icon": "path/components/icon/index"
  }
}
1
2
3
4
5

代码演示

<fs-icon name="loading" />
<fs-icon name="user" />
1
2

属性

参数 说明 类型 默认值
name 图标名 String -
color 颜色 String -
size 大小 String -
custom-class 自定义的外部样式类 String -