mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
fix: docs Menu api
This commit is contained in:
parent
a8579affd1
commit
3a527c63fe
@ -16,12 +16,12 @@ More layouts with navigation: [Layout](/components/layout).
|
||||
## API
|
||||
|
||||
```jsx
|
||||
<menu>
|
||||
<Menu>
|
||||
<Menu.Item>Menu</Menu.Item>
|
||||
<SubMenu title="SubMenu">
|
||||
<Menu.Item>SubMenuItem</Menu.Item>
|
||||
</SubMenu>
|
||||
</menu>
|
||||
</Menu>
|
||||
```
|
||||
|
||||
### Menu
|
||||
|
@ -17,12 +17,12 @@ subtitle: 导航菜单
|
||||
## API
|
||||
|
||||
```jsx
|
||||
<menu>
|
||||
<Menu>
|
||||
<Menu.Item>菜单项</Menu.Item>
|
||||
<SubMenu title="子菜单">
|
||||
<Menu.Item>子菜单项</Menu.Item>
|
||||
</SubMenu>
|
||||
</menu>
|
||||
</Menu>
|
||||
```
|
||||
|
||||
### Menu
|
||||
|
Loading…
Reference in New Issue
Block a user