import { InputHTMLAttributes, LabelHTMLAttributes, ReactNode } from "react";
type OwnProps = {
name: string;
value?: string | number;
checked?: boolean;
onChange?: (newVal?: string | number) => void;
label?: string | ReactNode;
subText?: string;
className?: string;
labelProps?: LabelHTMLAttributes;
variant?: "circle";
hasError?: boolean;
"data-cy"?: string;
labelClassName?: string;
};
export type RadioButtonProps = OwnProps &
Omit<
InputHTMLAttributes,
"onChange" | "value" | "name" | "checked"
>;