UNPKG

survey-react-ui

Version:

A free MIT-licensed React UI component that renders dynamic, interactive JSON-based forms and surveys. You can use it to collect responses from users and send them to your own database.

18 lines (17 loc) 577 B
import * as React from "react"; import { TextAreaModel } from "survey-core"; import { SurveyElementBase } from "../reactquestion_element"; interface ITextAreaProps { viewModel: TextAreaModel; } export declare class TextAreaComponent extends SurveyElementBase<ITextAreaProps, any> { private textareaRef; private initialValue; constructor(props: ITextAreaProps); get viewModel(): TextAreaModel; protected canRender(): boolean; componentDidMount(): void; componentWillUnmount(): void; protected renderElement(): React.JSX.Element; } export {};