five-on-it / apps/client/src/ui/kit/Field / ChoiceCardsProps
Interface: ChoiceCardsProps<T>
Defined in: apps/client/src/ui/kit/Field.tsx:405
Props of ChoiceCards.
Type Parameters
T
T extends string
Properties
choices
choices: readonly
CardChoice<T>[]
Defined in: apps/client/src/ui/kit/Field.tsx:410
className?
optionalclassName?:string
Defined in: apps/client/src/ui/kit/Field.tsx:415
help?
optionalhelp?:ReactNode
Defined in: apps/client/src/ui/kit/Field.tsx:409
A line under the label.
id?
optionalid?:string
Defined in: apps/client/src/ui/kit/Field.tsx:406
label
label:
ReactNode
Defined in: apps/client/src/ui/kit/Field.tsx:407
min?
optionalmin?:number
Defined in: apps/client/src/ui/kit/Field.tsx:414
The narrowest a card is (px): as many to a row as fit.
onChange
onChange: (
value) =>void
Defined in: apps/client/src/ui/kit/Field.tsx:412
Parameters
value
T
Returns
void
value
value:
T
Defined in: apps/client/src/ui/kit/Field.tsx:411