@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
77 lines (76 loc) • 2.06 kB
TypeScript
import { NeonSize } from '@/common/enums/NeonSize';
import type { NeonListItem } from '@/common/models/NeonListItem';
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
/**
* Renders a list of removable items. This can be used as an alternative to removable chips where a vertical list is
* more appropriate.
*/
declare const _default: import("vue").DefineComponent<{
/**
* The list items.
*/
modelValue: {
type: () => Array<NeonListItem>;
required: true;
};
/**
* The file component size
*/
size: {
type: () => NeonSize;
default: NeonSize;
};
/**
* The file component color
*/
color: {
type: () => NeonFunctionalColor;
default: NeonFunctionalColor;
};
/**
* The disabled state of the component
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
}, {
remove: (key: string) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:modelValue")[], "close" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* The list items.
*/
modelValue: {
type: () => Array<NeonListItem>;
required: true;
};
/**
* The file component size
*/
size: {
type: () => NeonSize;
default: NeonSize;
};
/**
* The file component color
*/
color: {
type: () => NeonFunctionalColor;
default: NeonFunctionalColor;
};
/**
* The disabled state of the component
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onClose?: ((...args: any[]) => any) | undefined;
}, {
disabled: boolean;
size: NeonSize;
color: NeonFunctionalColor;
}, {}>;
export default _default;