import { type ComponentPropsWithoutRef } from 'react'; type InputPropsWithoutRef = ComponentPropsWithoutRef<'input'>; export type RadioButtonProps = { /** * The content of the radio button label. * It should be only a string value. * * @default undefined */ label?: string; /** * The checked state of the radio button. * It should be only a boolean value. * This value will be overridden if the radio button is inside RadioGroup component. * * @default undefined */ checked?: InputPropsWithoutRef['checked']; /** * The disabled state of the radio button. * It should be only a boolean value. * This value will be overridden if the radio button is inside RadioGroup component and "disabled" prop of "RadioGroup" * is not "undefined" * * @default undefined */ disabled?: InputPropsWithoutRef['disabled']; } & Omit; export {};