UNPKG

@aotearoan/neon

Version:

Neon is a lightweight design library of Vue 3 components with minimal dependencies.

19 lines (18 loc) 650 B
import type { NeonTreeMenuLinkModel } from './NeonTreeMenuLinkModel'; /** * Model defining a <a href="/navigation/tree-menu">NeonTreeMenu</a> section. */ export interface NeonTreeMenuSectionModel { /** Display label for the menu section. */ label: string; /** Unique key for the menu section. */ key: string; /** URL for the menu section's page. */ href?: string; /** Child links of the menu section. */ children?: NeonTreeMenuLinkModel[]; /** Boolean describing if the menu section is expanded. */ expanded?: boolean; /** Boolean describing if the menu section is disabled. */ disabled?: boolean; }