import { InputHTMLAttributes, PropsWithChildren } from 'react'; import { TOptionGroupValue } from '../OptionGroup'; type TOmittedProps = 'checked' | 'disabled' | 'onChange' | 'type'; export type TOptionCardType = 'radio' | 'checkbox'; export type TOptionPadding = 'mu050' | 'mu100'; export type TOptionCardIndicatorPosition = 'top' | 'top-right' | 'right' | 'bottom-right' | 'bottom' | 'bottom-left' | 'left' | 'top-left'; export interface IOptionCardIndicator extends Omit, TOmittedProps> { indicatorPosition?: TOptionCardIndicatorPosition; padding?: TOptionPadding; isChecked?: boolean; isDisabled?: boolean; onChange?: (value: TOptionGroupValue | undefined) => void; value?: TOptionGroupValue; type?: TOptionCardType; } export interface IOptionCardPartialProps extends PropsWithChildren { padding?: TOptionPadding; className?: string; } export interface IOptionCardProps extends IOptionCardPartialProps, IOptionCardIndicator { } export {};