File size: 532 Bytes
0e3a53d 2b6729a 0e3a53d | 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 { CustomButton } from "@gradio/utils";
export interface HTMLProps {
value: string;
html_template: string;
css_template: string;
js_on_load: string | null;
apply_default_css: boolean;
show_label: boolean;
min_height: number | undefined;
max_height: number | undefined;
props: Record<string, any>;
component_class_name: string;
buttons: (string | CustomButton)[] | null;
padding: boolean;
}
export interface HTMLEvents {
change: never;
click: never;
submit: never;
custom_button_click: { id: number };
}
|