UNPKG

@trussworks/react-uswds

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