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.

15 lines (14 loc) 536 B
import * as React from "react"; import { ReactSurveyElement } from "./reactquestion_element"; import { Base } from "survey-core"; export declare class SurveyQuestionOptionItem extends ReactSurveyElement { constructor(props: any); componentDidUpdate(prevProps: any, prevState: any): void; componentDidMount(): void; componentWillUnmount(): void; private setupModel; protected getStateElement(): Base; private get item(); protected canRender(): boolean; protected renderElement(): React.JSX.Element; }