File size: 512 Bytes
de5f6e5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
}