@dcodegroup-au/dsg-vue
Version:
Front-end Vue/Tailwind DSG for UntitledUI.
33 lines (32 loc) • 1.15 kB
TypeScript
export interface DsgAccordionProps {
rows: any[];
class?: string;
rowKey?: (row: any, index: number) => string | number;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
header?(_: {}): any;
row?(_: {
row: any;
index: number;
isExpanded: boolean;
toggle: () => void;
}): any;
expanded?(_: {
row: any;
index: number;
}): any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<DsgAccordionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DsgAccordionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};