New to KendoReactLearn about KendoReact Free.

ButtonGroupProps

Represents the props of the KendoReact ButtonGroup component.

NameTypeDefaultDescription

className?

string

Sets the className of the ButtonGroup component. Specifies a list of CSS classes that will be added to the ButtonGroup element.

jsx
<ButtonGroup className="custom-group" />

dir?

string

Sets the direction of the ButtonGroup (more information).

The available options are:

  • rtl
  • ltr
  • auto

disabled?

boolean

By default, the ButtonGroup is enabled (see example). To disable the whole group of buttons, set its disabled attribute to true. To disable a specific button, set its own disabled attribute to true and leave the disabled attribute of the ButtonGroup undefined.

If you define the disabled attribute of the ButtonGroup, it will take precedence over the disabled attributes of the underlying buttons and they will be ignored.

width?

string

Sets the width of the ButtonGroup.

If the width of the ButtonGroup is set:

  • The buttons resize automatically to fill the full width of the group wrapper.
  • The buttons acquire the same width.
Not finding the help you need?
Contact Support