CoolFace
Datasetpublic

gradio/frontend

sourceHugging Faceupdated 7h agoView on Hugging Face
1likes413kdownloads
types.ts24 linesDownload Raw Back to plot
1import type { SelectData, CustomButton } from "@gradio/utils";2import type { LoadingStatus } from "@gradio/statustracker";3 4export type ThemeMode = "system" | "light" | "dark";5 6export interface PlotProps {7	value: null | string;8	theme_mode: ThemeMode;9	caption: string;10	bokeh_version: string | null;11	show_actions_button: boolean;12	_selectable: boolean;13	x_lim: [number, number] | null;14	show_fullscreen_button: boolean;15	buttons: (string | CustomButton)[] | null;16}17 18export interface PlotEvents {19	change: never;20	select: SelectData;21	clear_status: LoadingStatus;22	custom_button_click: { id: number };23}24 
gradio/frontend · CoolFace