gradio-pr-bot's picture
Upload folder using huggingface_hub
5115c94 verified
raw
history blame contribute delete
441 Bytes
import type { KeyUpData, SelectData } from "@gradio/utils";
export type Item = string | number;
export interface DropdownProps {
multiselect: boolean;
max_choices: number | null;
choices: [string, Item][];
allow_custom_value: boolean;
value: Item | Item[];
info: string;
filterable: boolean;
}
export interface DropdownEvents {
change: never;
input: never;
select: SelectData;
focus: never;
blur: never;
key_up: KeyUpData;
}