import { RadioGroupProps, RadioGroupItemProps } from '@radix-ui/react-radio-group';
import { ReactNode } from 'react';
import { Variants } from './InputRadio.constants.js';

interface InputRadioGroupProps extends RadioGroupProps {
    children: ReactNode;
    condensed?: boolean;
    defaultValue?: string;
    disabled?: boolean;
    fullWidth?: boolean;
    name?: string;
    orientation?: RadioGroupProps['orientation'];
    required?: boolean;
    value?: string;
    variant?: `${Variants}`;
    onValueChange?: (value: string) => void;
}
interface InputRadioProps extends RadioGroupItemProps {
    value: string;
    children?: ReactNode;
    condensed?: boolean;
    disabled?: boolean;
    fullWidth?: boolean;
    id?: string;
    label?: string;
    labelAsDiv?: boolean;
}

export type { InputRadioGroupProps, InputRadioProps };
