Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Correct slot name
  • Loading branch information
kenny-lee-1992 authored and sendya committed Jun 9, 2022
1 parent 6bf67fe commit a1eb755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/pro-layout/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const layoutConf = reactive({
| footerRender | custom footer render method | `slot` \| (props: BasicLayoutProps) => VNode | `false` |
| breadcrumbRender | custom breadcrumb render method | `slot` \| ({ route, params, routes, paths, h }) => VNode[] | - |
| menuItemRender | custom render Menu.Item | v-slot#menuItemRender="{ item, icon }" \| ({ item, icon }) => VNode | null |
| menuSubItemRender | custom render Menu.SubItem | v-slot#menuSubItemRender="{ item, icon }" \| ({ item, icon }) => VNode | null |
| subMenuItemRender | custom render Menu.SubItem | v-slot#subMenuItemRender="{ item, icon }" \| ({ item, icon }) => VNode | null |
| locale | i18n | Function (key: string) => string \| `false` | `false` |

> Menu generation requires `getMenuData` and `clearMenuItem` function
Expand Down Expand Up @@ -266,4 +266,4 @@ const layoutConf = reactive({

```bash
pnpm build # Build library and .d.ts
```
```

0 comments on commit a1eb755

Please sign in to comment.