@trussworks/react-uswds
Version:
React USWDS 3 component library
14 lines (13 loc) • 530 B
TypeScript
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;