File size: 898 Bytes
19fcb71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import type { SelectData } from "@gradio/utils";
import type { LoadingStatus } from "@gradio/statustracker";
import type { DataframeValue, Datatype, EditData } from "./shared/utils/utils";

export interface DataframeEvents {
	change: DataframeValue;
	input: never;
	select: SelectData;
	edit: EditData;
	clear_status: LoadingStatus;
}

export interface DataframeProps {
	value: DataframeValue;
	col_count: [number, "fixed" | "dynamic"];
	row_count: [number, "fixed" | "dynamic"];
	wrap: boolean;
	datatype: Datatype | Datatype[];
	line_breaks: boolean;
	column_widths: string[];
	latex_delimiters: {
		left: string;
		right: string;
		display: boolean;
	}[];
	max_height: number;
	buttons: string[] | null;
	max_chars: number | undefined;
	show_row_numbers: boolean;
	show_search: "none" | "search" | "filter";
	pinned_columns: number;
	static_columns: (string | number)[];
	fullscreen: boolean;
}