docs: update doc of dropdown component

This commit is contained in:
DiamondYuan 2019-04-10 21:57:42 +08:00
parent de7c8d09bd
commit 2493182039
3 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ title:
## zh-CN
左边是按钮,右边是额外的相关功能菜单。
以设置 icon 属性 来修改右边的 icon
设置 `icon` 属性来修改右边的图标。
## en-US

View File

@ -34,7 +34,7 @@ You should use [Menu](/components/menu/) as `overlay`. The menu items and divide
### Dropdown.Button
| Property | Description | Type | Default | Version|
| Property | Description | Type | Default | Version |
| -------- | ----------- | ---- | ------- |------- |
| disabled | whether the dropdown menu is disabled | boolean | - ||
| overlay | the dropdown menu | [Menu](/components/menu) | - ||

View File

@ -35,7 +35,7 @@ title: Dropdown
### Dropdown.Button
| 参数 | 说明 | 类型 | 默认值 |版本|
| 参数 | 说明 | 类型 | 默认值 | 版本 |
| --- | --- | --- | --- |
| disabled | 菜单是否禁用 | boolean | - |||
| overlay | 菜单 | [Menu](/components/menu/) | - ||
@ -46,4 +46,4 @@ title: Dropdown
| visible | 菜单是否显示 | boolean | - ||
| onClick | 点击左侧按钮的回调,和 [Button](/components/button/) 一致 | Function | - ||
| onVisibleChange | 菜单显示状态改变时调用,参数为 visible | Function | - ||
| icon | 右侧的 icon | ReactNode | - |3.17.0|
| icon | 右侧的 icon | ReactNode | - | 3.17.0 |