v29.9.0
Minor Changes
-
Radio,Checkbox: Add description and badge support (#786)
Allows a way to provide more detail about a
RadioorCheckboxitem usingdescription, bringing these fields into line with the rest of the form fields in Braid. Also allows abadgeto be provided to be placed alongside thelabel.EXAMPLE USAGE:
<Radio label="Option" description="This option is your favourite" badge={ <Badge tone="positive" weight="strong"> New </Badge> } />
or
<Checkbox label="Option" description="This option is your favourite" badge={ <Badge tone="positive" weight="strong"> New </Badge> } />