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.
13 lines (12 loc) • 470 B
TypeScript
import * as React from "react";
import { SurveyQuestionElementBase } from "./reactquestion_element";
export declare class SurveyCustomWidget extends SurveyQuestionElementBase {
private widgetRef;
constructor(props: any);
private _afterRender;
componentDidMount(): void;
componentDidUpdate(prevProps: any, prevState: any): void;
componentWillUnmount(): void;
protected canRender(): boolean;
protected renderElement(): React.JSX.Element;
}