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