import { HTMLAttributes, ReactElement } from 'react';
import { IconWrapperProps } from '../../icon/icon.types';

export type SegmentedButton = IconWrapperProps & {
    icon?: string;
    toggled?: boolean;
    centralRipple?: boolean;
};

export interface SegmentedButtons {
    toggled?: boolean;
    children?: ReactElement<HTMLButtonElement>[];
}

export type SegmentedButtonsProps = SegmentedButtons &
    HTMLAttributes<HTMLDivElement>;
