Download 6.0.1/plot/types.ts from gradio/frontend: direct link, hf CLI and curl.
- Browser
- Download file 512 Bytes
-
https://huggingface.co/datasets/gradio/frontend/resolve/834fa270e16a74074f07cfdd678317d826c68dd3/6.0.1/plot/types.ts
- Command line
-
hf download hf://datasets/gradio/frontend@834fa270e16a74074f07cfdd678317d826c68dd3/6.0.1/plot/types.ts
-
curl -L -o types.ts https://huggingface.co/datasets/gradio/frontend/resolve/834fa270e16a74074f07cfdd678317d826c68dd3/6.0.1/plot/types.ts
512 Bytes
| import type { SelectData } 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; | |
| } | |
| export interface PlotEvents { | |
| change: never; | |
| select: SelectData; | |
| clear_status: LoadingStatus; | |
| } | |