ButtonGroup

Type: React component

A group of buttons. A buttons presented in a ButtonGroup can be selected, which will cause this button to be selected. Only one of the buttons can be selected at a time.

Keyboard behavior:

  • Enter: call the onItemClick prop of the focused button.

Props

  1. isFullWidth

    (Optional)

    Default value

  2. items

    (Required)

  3. onItemClick

    (Required)

  4. selectedItem

    (Optional)

    Default value