# Icon 图标
提供一些常用图标集合。
# 基础用法
<n-icon icon="xxxx"/>
# Button 按钮
基础组件,点击触发业务逻辑。
# 基础用法
<n-button>按钮</n-button>
<n-button icon="i-setup">按钮</n-button>
<n-button position="right" icon="i-setup">按钮</n-button>
<n-button disable>按钮</n-button>
<n-button primary>按钮</n-button>
<n-button loading>按钮</n-button>
# n-button Attributes
属性名 | 含义 | 类型 | 必填 | 可选 | 默认值 |
icon | icon 图标名 | String | - | - | - |
position | icon 位置 | String | - | left | 0 |
loading | loading 加载效果 | Boolean | - | false | true |
disable | 禁用 | Boolean | - | - | false |
danger / primary / gray/ dark / normal | 按钮主题颜色 | Boolean | - | - | - |
# ButtonGroup 按钮组合
横向排列的按钮组合。
<n-button-group :border="false">
<n-button>选项一</n-button>
<n-button>选项二</n-button>
<n-button>选项三</n-button>
<n-button disable>选项四</n-button>
</n-button-group>
# n-button-group Attributes
属性名 | 含义 | 类型 | 必填 | 可选 | 默认值 |
border | 是否显示内部边框 | Boolean | - | - | true |