File size: 362 Bytes
5150d75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import type { SelectData, LoadingStatus } from "@gradio/utils";

export interface LabelProps {
	value: {
		label?: string;
		confidences?: { label: string; confidence: number }[];
	};
	color: undefined | string;
	_selectable: boolean;
	show_heading: boolean;
}

export interface LabelEvents {
	change: never;
	select: SelectData;
	clear_status: LoadingStatus;
}