UNPKG

@trussworks/react-uswds

Version:
14 lines (13 loc) 511 B
import { default as React, JSX } from 'react'; import { LegacyInputRef } from '../../../types/legacyInputRef'; export type RadioProps = { id: string; name: string; className?: string; label: React.ReactNode; inputRef?: LegacyInputRef; tile?: boolean; labelDescription?: React.ReactNode; } & JSX.IntrinsicElements['input']; export declare const Radio: ({ id, name, className, label, inputRef, tile, labelDescription, ...inputProps }: RadioProps) => JSX.Element; export default Radio;