mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
fix: cn menus doc (#35078)
This commit is contained in:
parent
ea648e7cb6
commit
74b60d22b1
@ -75,7 +75,7 @@ const items = [
|
|||||||
| disabled | 是否禁用 | boolean | false | |
|
| disabled | 是否禁用 | boolean | false | |
|
||||||
| icon | 菜单图标 | ReactNode | - | |
|
| icon | 菜单图标 | ReactNode | - | |
|
||||||
| key | item 的唯一标志 | string | - | |
|
| key | item 的唯一标志 | string | - | |
|
||||||
| label | 菜单项标题 | string | - | |
|
| label | 菜单项标题 | ReactNode | - | |
|
||||||
| title | 设置收缩时展示的悬浮标题 | string | - | |
|
| title | 设置收缩时展示的悬浮标题 | string | - | |
|
||||||
|
|
||||||
> 注意:`icon` 是 `4.2.0` 新增的属性,之前的版本请使用下面的方式定义图标。
|
> 注意:`icon` 是 `4.2.0` 新增的属性,之前的版本请使用下面的方式定义图标。
|
||||||
|
Loading…
Reference in New Issue
Block a user