@volverjs/ui-vue
Version:
@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.
18 lines (17 loc) • 410 B
TypeScript
export type NavItem = {
label: string;
ariaLabel?: string;
title?: string;
to?: string | Record<string, unknown>;
href?: string;
target?: string;
rel?: string;
disabled?: boolean;
current?: boolean;
class?: string | string[];
on?: Record<'click' | string, () => void>;
data?: Record<string, unknown>;
};
export type NavItemTab = NavItem & {
tab?: string;
};