xonecas.io
6615
Yc

yoctoselect / files

yoctoselect / src / types.ts

224 bytes
1export type SelectItem =
2  | string
3  | {
4      label: string;
5      value: string;
6      filterText?: string;
7    };
8
9export interface SelectOptions {
10  items: SelectItem[];
11  placeholder?: string;
12  maxVisible?: number;
13}