1681-engine / react / ChoiceOption
Interface: ChoiceOption ​
Defined in: src/react/choiceStore.ts:5
One row of a choice: a line of text, with an icon before it and a note after it if the game gives them.
Properties ​
disabled? ​
ts
optional disabled?: boolean;Defined in: src/react/choiceStore.ts:10
icon? ​
ts
optional icon?: ReactNode;Defined in: src/react/choiceStore.ts:8
id ​
ts
id: string;Defined in: src/react/choiceStore.ts:6
label ​
ts
label: ReactNode;Defined in: src/react/choiceStore.ts:7
note? ​
ts
optional note?: ReactNode;Defined in: src/react/choiceStore.ts:9