// // Copyright 2023 DXOS.org // import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group'; import React, { forwardRef } from 'react'; import { Button, ButtonGroup, type ButtonGroupProps, type ButtonProps } from './Button'; import { IconButton, type IconButtonProps } from './IconButton'; type ToggleGroupProps = | Omit | Omit; const ToggleGroup = forwardRef( ({ classNames, children, ...props }, forwardedRef) => { return ( ); }, ); type ToggleGroupItemProps = Omit & ButtonProps; const ToggleGroupItem = forwardRef( ({ variant, elevation, density, classNames, children, ...props }, forwardedRef) => { return (