Browse Source

fix: cn menus doc (#35078)

pull/35106/head
nuintun 3 years ago
committed by GitHub
parent
commit
74b60d22b1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/menu/index.zh-CN.md

2
components/menu/index.zh-CN.md

@ -75,7 +75,7 @@ const items = [
| disabled | 是否禁用 | boolean | false | |
| icon | 菜单图标 | ReactNode | - | |
| key | item 的唯一标志 | string | - | |
| label | 菜单项标题 | string | - | |
| label | 菜单项标题 | ReactNode | - | |
| title | 设置收缩时展示的悬浮标题 | string | - | |
> 注意:`icon` 是 `4.2.0` 新增的属性,之前的版本请使用下面的方式定义图标。

Loading…
Cancel
Save