mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-08 08:52:19 +02:00
18 lines
367 B
TypeScript
18 lines
367 B
TypeScript
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||
|
|
||
|
export interface Choice {
|
||
|
id?: number;
|
||
|
customProperties?: Record<string, any>;
|
||
|
disabled?: boolean;
|
||
|
active?: boolean;
|
||
|
elementId?: number;
|
||
|
groupId?: number;
|
||
|
keyCode?: number;
|
||
|
label: string;
|
||
|
placeholder?: boolean;
|
||
|
selected?: boolean;
|
||
|
value: string;
|
||
|
score?: number;
|
||
|
choices?: Choice[];
|
||
|
}
|