Interface: DialogChoice
Defined in: src/ui/elements/PcDialog/index.ts:9
A button in a dialog
Properties
cancelling?
optionalcancelling?:boolean
Defined in: src/ui/elements/PcDialog/index.ts:14
Shown as cancelling (pink), e.g. for a choice that removes something
label
label:
string
Defined in: src/ui/elements/PcDialog/index.ts:12
value
value:
string
Defined in: src/ui/elements/PcDialog/index.ts:11
What pc-choose gives when it's chosen
variant?
optionalvariant?:ButtonVariant
Defined in: src/ui/elements/PcDialog/index.ts:16
The button's style instead (e.g. dismiss: pink text without a background)