CheckboxField
Notes
A form field to support the use of a checkbox within <FieldBase>
Props
- className
string
styling is passed to
<FieldBase>
childWrapperClassName - checkboxId
string
- floatLabel
string
label that displays as float label when checkbox is in active checked state
- label
string
*label that displays when checkbox is in unchecked state
- useInactiveStyle
bool
Styling that will make the field appear greyed out and recessed
- onUpdate
func
[() => {}]
Function that will get called on checkbox click
- checked
[false]
<CheckboxFieldcheckboxId="cheese-checkbox"floatLabel="Sandwich Options"label="Cheese"/>;