Skip to content

ProLayout

高级布局用于快速构建Admin视图

基础用法

Naive Pro
我是内容
Default
expand codecollapse code

Props

参数类型可选值默认值说明
titlestring--
isMobileboolean--
headerHeightnumber--
isFooterboolean-
logostring--
logoSizenumber-
menusArray<MenuOption | MenuDividerOption | MenuGroupOption>-
accordionboolean-
showTriggerboolean | 'bar' | 'arrow-circle'-
collapsedboolean
collapsedWidthnumber
collapsedIconSizenumber
invertedboolean
indentnumber
openKeysArray<string>
selectedKeystring | null
clickMenuItem(key: string, item: MenuOption) => void
updateOpenKeys(keys: string[]) => void