UNPKG

@types/carbon-components-react

Version:
22 lines (17 loc) 824 B
import * as React from 'react'; import { ForwardRefReturn } from '../../../typings/shared'; type ExcludedAttributes = 'aria-invalid' | 'aria-placeholder' | 'aria-describedby' | 'defaultValue' | 'value'; export interface TextAreaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, ExcludedAttributes> { defaultValue?: string | number | undefined; enableCounter?: boolean | undefined; helperText?: React.ReactNode | undefined; hideLabel?: boolean | undefined; invalid?: boolean | undefined; invalidText?: React.ReactNode | undefined; labelText: React.ReactNode; light?: boolean | undefined; maxCount?: number | undefined; value?: string | number | undefined; } declare const TextArea: ForwardRefReturn<HTMLTextAreaElement, TextAreaProps>; export default TextArea;