@dcodegroup-au/dsg-vue
Version:
Front-end Vue/Tailwind DSG for UntitledUI.
30 lines (29 loc) • 1.13 kB
TypeScript
import { default as DsgCard } from './DsgCard.vue';
type CardProps = Partial<InstanceType<typeof DsgCard>['$props']>;
export interface DsgCardContainerProps {
columns: 1 | 2 | 3 | 4;
gap: 1 | 2 | 3 | 4;
items: any[];
itemKey?: string | null;
cardProps?: CardProps;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {
item: any;
index: number;
}): any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<DsgCardContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DsgCardContainerProps> & 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;
};
};