Skip to main content

ButtonGroup

ButtonGroup

Source: packages/appkit-ui/src/react/ui/button-group.tsx

Props

PropTypeRequiredDefaultDescription
orientation"horizontal" | "vertical" | null--

Usage

import { ButtonGroup } from '@databricks/appkit-ui';

<ButtonGroup /* props */ />

ButtonGroupSeparator

Source: packages/appkit-ui/src/react/ui/button-group.tsx

Props

PropTypeRequiredDefaultDescription
orientationenumverticalEither vertical or horizontal. Defaults to horizontal.
decorativeboolean-Whether or not the component is purely decorative. When true, accessibility-related attributes are updated so that that the rendered element is removed from the accessibility tree.
asChildboolean--

Usage

import { ButtonGroupSeparator } from '@databricks/appkit-ui';

<ButtonGroupSeparator /* props */ />

ButtonGroupText

Source: packages/appkit-ui/src/react/ui/button-group.tsx

Props

PropTypeRequiredDefaultDescription
asChildbooleanfalse-

Usage

import { ButtonGroupText } from '@databricks/appkit-ui';

<ButtonGroupText /* props */ />