mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +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
|
## API
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
<menu>
|
<Menu>
|
||||||
<Menu.Item>Menu</Menu.Item>
|
<Menu.Item>Menu</Menu.Item>
|
||||||
<SubMenu title="SubMenu">
|
<SubMenu title="SubMenu">
|
||||||
<Menu.Item>SubMenuItem</Menu.Item>
|
<Menu.Item>SubMenuItem</Menu.Item>
|
||||||
</SubMenu>
|
</SubMenu>
|
||||||
</menu>
|
</Menu>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Menu
|
### Menu
|
||||||
|
@ -17,12 +17,12 @@ subtitle: 导航菜单
|
|||||||
## API
|
## API
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
<menu>
|
<Menu>
|
||||||
<Menu.Item>菜单项</Menu.Item>
|
<Menu.Item>菜单项</Menu.Item>
|
||||||
<SubMenu title="子菜单">
|
<SubMenu title="子菜单">
|
||||||
<Menu.Item>子菜单项</Menu.Item>
|
<Menu.Item>子菜单项</Menu.Item>
|
||||||
</SubMenu>
|
</SubMenu>
|
||||||
</menu>
|
</Menu>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Menu
|
### Menu
|
||||||
|
Loading…
Reference in New Issue
Block a user