hongluan-ui
Version:
Hongluan Component Library for Vue 3
21 lines (20 loc) • 1.05 kB
TypeScript
import type { ExtractPropTypes } from 'vue';
import type { Arrayable } from 'hongluan-ui/es/utils';
export declare type CollapseActiveName = string | number;
export declare type CollapseModelValue = Arrayable<CollapseActiveName>;
export declare const emitChangeFn: (value: CollapseModelValue) => boolean;
export declare const collapseProps: {
readonly accordion: BooleanConstructor;
readonly gap: StringConstructor;
readonly headerGap: StringConstructor;
readonly padding: StringConstructor;
readonly contentPadding: StringConstructor;
readonly arrowLeft: BooleanConstructor;
readonly modelValue: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<CollapseModelValue>, unknown, unknown, () => [], boolean>;
};
export declare type CollapseProps = ExtractPropTypes<typeof collapseProps>;
export declare const collapseEmits: {
"update:modelValue": (value: CollapseModelValue) => boolean;
change: (value: CollapseModelValue) => boolean;
};
export declare type CollapseEmits = typeof collapseEmits;