UNPKG

@trussworks/react-uswds

Version:
14 lines (13 loc) 530 B
import { default as React, JSX } from 'react'; import { LegacyInputRef } from '../../../types/legacyInputRef'; export type TextareaProps = { id: string; name: string; className?: string; error?: boolean; success?: boolean; children?: React.ReactNode; inputRef?: LegacyInputRef<HTMLTextAreaElement>; } & JSX.IntrinsicElements['textarea']; export declare const Textarea: ({ id, name, className, error, success, children, inputRef, ...inputProps }: TextareaProps) => JSX.Element; export default Textarea;