frontend / 6.2.0 /json /types.ts
gradio-pr-bot's picture
Upload folder using huggingface_hub
3256f9d verified
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 };
}