anki/ts/editor-toolbar/SelectButton.d.ts
2021-04-23 18:53:52 +02:00

16 lines
366 B
TypeScript

// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
export interface Option {
label: string;
value: string;
selected: boolean;
}
export interface SelectButtonProps {
id: string;
className?: string;
tooltip?: string;
disables: boolean;
options: Option[];
}