Download 6.26.0/dataframe/types.ts from gradio/frontend: direct link, hf CLI and curl.
- Browser
- Download file 916 Bytes
-
https://huggingface.co/datasets/gradio/frontend/resolve/main/6.26.0/dataframe/types.ts
- Command line
-
hf download hf://datasets/gradio/frontend/6.26.0/dataframe/types.ts
-
curl -L -o types.ts https://huggingface.co/datasets/gradio/frontend/resolve/main/6.26.0/dataframe/types.ts
916 Bytes
| import type { SelectData } from "@gradio/utils"; | |
| import type { ILoadingStatus as 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; | |
| } | |