UNPKG

@uva-glass/component-library

Version:

React components UvA

14 lines (13 loc) 603 B
import { InputHTMLAttributes } from 'react'; export interface RadioButtonProps extends InputHTMLAttributes<HTMLInputElement> { /** The id of the element. */ id: string; /** The label of the radio button. */ label: string; /** The description that is shown under the label. */ description?: string; /** The gap between the label and radio button. */ gap?: 'normal' | 'large'; } /** Represents a component for a radio button. */ export declare const RadioButton: ({ id, label, gap, description, ...restProps }: RadioButtonProps) => import("react/jsx-runtime").JSX.Element;