@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
19 lines (18 loc) • 619 B
TypeScript
import type { NeonTreeMenuSubMenuModel } from './NeonTreeMenuSubMenuModel';
/**
* Model defining a <a href="/navigation/tree-menu">NeonTreeMenu</a> item.
*/
export interface NeonTreeMenuItemModel {
/** Display label for the menu item. */
label: string;
/** Unique key for the menu item. */
key: string;
/** URL for the menu item's page. */
href?: string;
/** Expanded state of the menu item. */
expanded?: boolean;
/** Denotes the link is external (open in a new tab). */
external?: boolean;
/** A list of page sub menu items */
subMenu?: NeonTreeMenuSubMenuModel[];
}