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

export interface HTMLEvents {
	change: never;
	click: never;
	submit: never;
	custom_button_click: { id: number };
}