Skip to content

v29.9.0

Choose a tag to compare

@seek-oss-ci seek-oss-ci released this 08 Oct 04:27
· 1169 commits to master since this release
b1794d0

Minor Changes

  • Radio,Checkbox: Add description and badge support (#786)

    Allows a way to provide more detail about a Radio or Checkbox item using description, bringing these fields into line with the rest of the form fields in Braid. Also allows a badge to be provided to be placed alongside the label.

    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>
      }
    />