UNPKG

homehui

Version:

Vue3 二次封装基础组件文档

38 lines (37 loc) 1.05 kB
export interface OptionsProps { value: string | number; label: string; icon?: string; } export interface SelectDataProps { title: string; key: string; multiple?: boolean; options: OptionsProps[]; } export interface SelectFilterProps { data?: SelectDataProps[]; defaultValues?: { [key: string]: any; }; } declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<SelectFilterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { change: (value: any) => any; }, string, import('vue').PublicProps, Readonly<SelectFilterProps> & Readonly<{ onChange?: ((value: any) => any) | undefined; }>, { data: SelectDataProps[]; defaultValues: { [key: string]: any; }; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, { default?(_: { row: OptionsProps; }): any; }>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };