@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
71 lines (70 loc) • 1.92 kB
TypeScript
import type { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
/**
* Custom animated chevron component which is used in dropdowns and expansion panels. This may be useful in creating
* higher level components but is unlikely to be used on its own.
*/
declare const _default: import("vue").DefineComponent<{
/**
* Whether the chevron is <em>open</em>.
*/
expanded: {
type: BooleanConstructor;
default: boolean;
};
/**
* Display the expansion indicator in the inverse text color
*/
inverse: {
type: BooleanConstructor;
default: boolean;
};
/**
* Display the expansion indicator in the disabled color
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
/**
* The color of the chevron.
*/
color: {
type: () => NeonFunctionalColor;
default: null;
};
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* Whether the chevron is <em>open</em>.
*/
expanded: {
type: BooleanConstructor;
default: boolean;
};
/**
* Display the expansion indicator in the inverse text color
*/
inverse: {
type: BooleanConstructor;
default: boolean;
};
/**
* Display the expansion indicator in the disabled color
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
/**
* The color of the chevron.
*/
color: {
type: () => NeonFunctionalColor;
default: null;
};
}>>, {
disabled: boolean;
expanded: boolean;
color: NeonFunctionalColor;
inverse: boolean;
}, {}>;
export default _default;