ソースを参照

docs(button): 移除多余示例

eiinu 3 年 前
コミット
1d3a8c0149

+ 0 - 12
src/packages/__VUE/button/doc.en-US.md

@@ -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`.

+ 0 - 12
src/packages/__VUE/button/doc.md

@@ -135,18 +135,6 @@ app.use(Button);
 
 :::
 
-### 自定义图标
-
-```html
-<template>
-  <nut-button shape="square" plain type="primary">
-    <template #icon>
-      <Close />
-    </template>
-  </nut-button>
-</template>
-```
-
 ### 按钮尺寸
 
 支持 `large`、`normal`、`small`、`mini` 四种尺寸,默认为 `normal`。

+ 0 - 12
src/packages/__VUE/button/doc.taro.md

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