fix: docs Menu api

This commit is contained in:
ycjcl868 2019-12-26 15:10:15 +08:00
parent a8579affd1
commit 3a527c63fe
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -17,12 +17,12 @@ subtitle: 导航菜单
## API
```jsx
<menu>
<Menu>
<Menu.Item>菜单项</Menu.Item>
<SubMenu title="子菜单">
<Menu.Item>子菜单项</Menu.Item>
</SubMenu>
</menu>
</Menu>
```
### Menu