Download 6.2.1/plot/types.ts from gradio/frontend: direct link, hf CLI and curl.
- Browser
- Download file 608 Bytes
-
https://huggingface.co/datasets/gradio/frontend/resolve/d30c0ec78cb445c4f9f99b45feaecfa3d90e754f/6.2.1/plot/types.ts
- Command line
-
hf download hf://datasets/gradio/frontend@d30c0ec78cb445c4f9f99b45feaecfa3d90e754f/6.2.1/plot/types.ts
-
curl -L -o types.ts https://huggingface.co/datasets/gradio/frontend/resolve/d30c0ec78cb445c4f9f99b45feaecfa3d90e754f/6.2.1/plot/types.ts
608 Bytes
| import type { SelectData, CustomButton } from "@gradio/utils"; | |
| import type { LoadingStatus } from "@gradio/statustracker"; | |
| export type ThemeMode = "system" | "light" | "dark"; | |
| export interface PlotProps { | |
| value: null | string; | |
| theme_mode: ThemeMode; | |
| caption: string; | |
| bokeh_version: string | null; | |
| show_actions_button: boolean; | |
| _selectable: boolean; | |
| x_lim: [number, number] | null; | |
| show_fullscreen_button: boolean; | |
| buttons: (string | CustomButton)[] | null; | |
| } | |
| export interface PlotEvents { | |
| change: never; | |
| select: SelectData; | |
| clear_status: LoadingStatus; | |
| custom_button_click: { id: number }; | |
| } | |