@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
58 lines (57 loc) • 1.77 kB
TypeScript
import type { NeonActionMenuModel } from '@/common/models/NeonActionMenuModel';
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
/**
* An action menu is designed for the NeonSideNav component and is designed to behave like tabs where selecting a different item switches the contents in the main page.
*/
declare const _default: import("vue").DefineComponent<{
/**
* The list of action items to display in the menu.
*/
model: {
type: () => Array<NeonActionMenuModel>;
required: true;
};
/**
* The key of the selected model action item.
*/
modelValue: {
type: StringConstructor;
required: true;
};
/**
* The toggle chip color.
*/
color: {
type: () => NeonFunctionalColor;
default: NeonFunctionalColor;
};
}, {
onClick: (key: string) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* The list of action items to display in the menu.
*/
model: {
type: () => Array<NeonActionMenuModel>;
required: true;
};
/**
* The key of the selected model action item.
*/
modelValue: {
type: StringConstructor;
required: true;
};
/**
* The toggle chip color.
*/
color: {
type: () => NeonFunctionalColor;
default: NeonFunctionalColor;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {
color: NeonFunctionalColor;
}, {}>;
export default _default;