API Reference > @next-core/brick-types > SidebarMenuSimpleItem
SidebarMenuSimpleItem interface
侧边栏基本菜单项的配置。
Signature:
export interface SidebarMenuSimpleItem
Properties
| Property | Type | Description |
|---|---|---|
| activeExcludes | string[] | 设置需要被排除的匹配高亮菜单项的地址列表。 |
| activeIncludes | string[] | 设置额外包含的匹配高亮菜单项的地址列表。 |
| activeMatchSearch | boolean | 设置匹配高亮菜单项时是否还对 search 参数进行比较。 |
| exact | boolean | 高亮菜单项时是否使用精确匹配来对比当前地址和菜单项地址。 |
| href | string | 菜单项对应的外部链接地址。 |
| icon | MenuIcon | 菜单项的图标。 |
| target | string | 菜单项链接打开的目标。 |
| text | string | 菜单项文本。 |
| to | LocationDescriptor | 菜单项对应的系统内地址。 |
| type | "default" |