UNPKG

fictoan-react

Version:

A full-featured, designer-friendly, yet performant framework with plain-English props and focus on rapid iteration.

35 lines (34 loc) 1.36 kB
import React from "react"; import { CommonAndHTMLProps } from '../../Element/constants'; import { InputCommonProps } from '../BaseInputComponent/constants'; import { InputLabelProps } from '../InputLabel/InputLabel'; export type TextareaElementType = HTMLTextAreaElement; export type TextareaProps = CommonAndHTMLProps<TextareaElementType> & InputLabelProps & InputCommonProps & { onChange?: (value: string) => void; value?: string; rows?: number; cols?: number; minLength?: number; maxLength?: number; placeholder?: string; readOnly?: boolean; required?: boolean; autoComplete?: string; characterLimit?: number; wordLimit?: number; }; export declare const TextArea: React.ForwardRefExoticComponent<CommonAndHTMLProps<HTMLTextAreaElement> & Omit<CommonAndHTMLProps<HTMLLabelElement>, keyof import('../InputLabel/InputLabel').InputLabelCustomProps> & import('../InputLabel/InputLabel').InputLabelCustomProps & InputCommonProps & { onChange?: (value: string) => void; value?: string; rows?: number; cols?: number; minLength?: number; maxLength?: number; placeholder?: string; readOnly?: boolean; required?: boolean; autoComplete?: string; characterLimit?: number; wordLimit?: number; } & React.RefAttributes<HTMLTextAreaElement>>; //# sourceMappingURL=TextArea.d.ts.map