import { InputHTMLAttributes, PropsWithChildren } from 'react';
import { TOptionGroupValue } from '../OptionGroup';
type TOmittedProps = 'checked' | 'disabled' | 'width' | 'value' | 'onChange' | 'type';
export type TOptionButtonWidth = 'fit' | 'full';
export type TOptionButtonType = 'radio' | 'checkbox';
export interface IOptionButtonIndicator extends Omit, TOmittedProps> {
isChecked?: boolean;
isDisabled?: boolean;
onChange?: (value?: TOptionGroupValue) => void;
type?: TOptionButtonType;
value?: TOptionGroupValue;
}
export interface IOptionButtonProps extends IOptionButtonIndicator {
width?: TOptionButtonWidth;
}
export interface IOptionButtonPartialProps extends PropsWithChildren {
className?: string;
width?: TOptionButtonWidth;
}
export {};