@prefecthq/prefect-design
Version:
A collection of low-level Vue components.
36 lines (35 loc) • 1.34 kB
TypeScript
import { TableColumn, TableData } from '../../types/tables';
declare const _default: <T extends TableData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & {
data?: T[];
columns?: TableColumn<T>[];
} & {}> & import("vue").PublicProps;
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
attrs: any;
slots: {
[x: string]: ((props: {
column: TableColumn<T>;
row: T;
value: unknown;
}) => any) | undefined;
} & {
default?: (props: {}) => any;
} & {
row?: (props: {
row: T;
index: number;
}) => any;
} & {
'row-after'?: (props: {
row: T;
index: number;
}) => any;
};
emit: {};
}>) => import("vue").VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_PrettifyLocal<T> = {
[K in keyof T as K]: T[K];
} & {};