@@ -135,18 +135,6 @@ Set the button shape through the `shape` property, support circle and square but
:::
-### Custom Icon
-
-```html
-<template>
- <nut-button shape="square" plain type="primary">
- <template #icon>
- <Close />
- </template>
- </nut-button>
-</template>
-```
### Size
Support `large`, `normal`, `small`, `mini` four sizes, the default is `normal`.
@@ -135,18 +135,6 @@ app.use(Button);
-### 自定义图标
### 按钮尺寸
支持 `large`、`normal`、`small`、`mini` 四种尺寸,默认为 `normal`。
@@ -133,18 +133,6 @@ app.use(Button);
</template>
```
-:::
-参照 `Icon` 组件说明中的自定义图标,其中 `icon-font-class-name` 对应 Icon 组件的 `font-class-name`,`icon-class-prefix` 对应 Icon 组件的 `class-prefix`。
- <nut-button shape="square" plain type="primary" icon-font-class-name="iconfont" icon-class-prefix="icon" icon="close"></nut-button>