UNPKG

@base-ui-components/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

20 lines 726 B
import * as React from 'react'; import { BaseUIComponentProps } from "../../utils/types.js"; import type { ToolbarRoot } from "../root/ToolbarRoot.js"; /** * Groups several toolbar items or toggles. * Renders a `<div>` element. * * Documentation: [Base UI Toolbar](https://base-ui.com/react/components/toolbar) */ export declare const ToolbarGroup: React.ForwardRefExoticComponent<ToolbarGroupProps & React.RefAttributes<HTMLElement>>; export interface ToolbarGroupProps extends BaseUIComponentProps<'div', ToolbarRoot.State> { /** * When `true` all toolbar items in the group are disabled. * @default false */ disabled?: boolean; } export declare namespace ToolbarGroup { type Props = ToolbarGroupProps; }