import "./index.css"; import React, { InputHTMLAttributes } from "react"; export type RadioSize = "md" | "sm"; interface RadioBaseProps { /** Optional description text that appears below the radio label. */ description?: string; /** The name of the radio group. All radios in the group must have the same name. */ name: string; /** The size of the radio. */ size?: RadioSize; } interface RadioWithLabel extends RadioBaseProps { "aria-labelledby"?: never; /** * Label content for the radio. When using non-string content * (e.g. JSX), it must not contain interactive elements. This * includes native HTML elements such as `` and `