docs: improve classname typing (#7927)

This commit is contained in:
neverland
2021-01-16 19:52:36 +08:00
committed by GitHub
parent 9d152bdf74
commit 8f2b03ec18
26 changed files with 65 additions and 65 deletions
+6 -6
View File
@@ -220,12 +220,12 @@ export default {
### Data Structure of Action
| Key | Description | Type |
| --------- | ----------------------- | --------- |
| text | Action Text | _string_ |
| icon | Icon | _string_ |
| disabled | Whether to be disabled | _boolean_ |
| className | className of the option | _any_ |
| Key | Description | Type |
| --------- | ----------------------- | --------------------------- |
| text | Action Text | _string_ |
| icon | Icon | _string_ |
| disabled | Whether to be disabled | _boolean_ |
| className | className of the option | _string \| Array \| object_ |
### Events
+1 -1
View File
@@ -241,7 +241,7 @@ export default {
| text | 选项文字 | _string_ |
| icon | 文字左侧的图标,支持传入[图标名称](#/zh-CN/icon)或图片链接 | _string_ |
| disabled | 是否为禁用状态 | _boolean_ |
| className | 为对应选项添加额外的类名 | _any_ |
| className | 为对应选项添加额外的类名 | _string \| Array \| object_ |
### Events