File size: 429 Bytes
ec08c16 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
import type { SelectData } from "@gradio/utils";
export interface DatasetProps {
components: string[];
component_props: Record<string, any>[];
headers: string[];
samples: any[][] | null;
sample_labels: string[] | null;
value: number | null;
root: string;
proxy_url: null | string;
samples_per_page: number;
layout: "gallery" | "table" | null;
}
export interface DatasetEvents {
click: never;
select: SelectData;
}
|