@stlhorizon/vue-ui
Version:
A Vue.js component library with Tailwind CSS styling
46 lines • 1.54 kB
TypeScript
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & (new () => {
$slots: S;
});
declare const __VLS_component: import("vue").DefineComponent<{}, {
$emit: typeof emit;
$props: Partial<typeof props>;
variant: string;
hoverable: boolean;
isSelected: boolean;
index: number;
item: Record<string, any>;
density: string;
columns: unknown[];
selectable: boolean;
striped: boolean;
clickableRows: boolean;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
type __VLS_Slots = {
[x: `cell-${any}`]: (props: {
item: Record<string, any>;
value: any;
column: unknown;
index: number;
}) => any;
} & {
actions?: (props: {
item: Record<string, any>;
index: number;
}) => any;
};
declare const emit: (event: "row-click" | "toggle-selection", ...args: any[]) => void;
declare const props: {
readonly variant: string;
readonly hoverable: boolean;
readonly isSelected: boolean;
readonly index: number;
readonly item: Record<string, any>;
readonly density: string;
readonly columns: unknown[];
readonly selectable: boolean;
readonly striped: boolean;
readonly clickableRows: boolean;
};
//# sourceMappingURL=DataTableRow.vue.d.ts.map