UNPKG

@thinkbuff/figma-react

Version:

A Figma React UI components for creating plugins and widgets

11 lines (10 loc) 929 B
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group'; /** * A set of two-state buttons that can be toggled on or off. * * - [Docs](https://www.radix-ui.com/docs/primitives/components/toggle-group) * - [API Reference](https://www.radix-ui.com/primitives/docs/components/toggle-group#api-reference) */ declare const ToggleGroup: import('react').ForwardRefExoticComponent<(Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & import('react').RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & import('react').RefAttributes<HTMLDivElement>, "ref">) & import('react').RefAttributes<HTMLDivElement>>; declare const ToggleGroupItem: import('react').ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>; export { ToggleGroup, ToggleGroupItem };