Menu

侧栏 / 导航菜单。默认 button;提供 href 时渲染为 <a>(仍可 onSelect)。

Props

属性 类型 默认 说明
items MenuItem[] key / label / disabled? / href?
selectedKey string 当前选中
onSelect (key: string) => void 选择回调
className string 追加类名

本轮不做多级嵌套。

ON THIS PAGE