import classNames from 'classnames' import Button from './button' import { Dropdown, DropdownItem, DropdownMenu, DropdownToggle, } from './dropdown-menu' import MaterialIcon from '@/shared/components/material-icon' import type { SplitButtonProps } from '@/features/ui/components/types/split-button-props' export function SplitButton({ accessibilityLabel, align, id, items, text, variant, ...props }: SplitButtonProps) { const buttonClassName = classNames('split-button') return (
{items.map((item, index) => (
  • {item.label}
  • ))}
    ) }