File size: 509 Bytes
72b301c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import type { LoadingStatus } from "js/statustracker";
import type { CustomButton } from "@gradio/utils";
export interface JSONProps {
value: any;
open: boolean;
show_indices: boolean;
height: number | string | undefined;
min_height: number | string | undefined;
max_height: number | string | undefined;
theme_mode: "system" | "light" | "dark";
buttons: (string | CustomButton)[];
}
export interface JSONEvents {
change: never;
clear_status: LoadingStatus;
custom_button_click: { id: number };
}
|