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.
32 lines (31 loc) • 1.32 kB
TypeScript
import * as React from "react";
import { SurveyQuestionElementBase } from "./reactquestion_element";
import { SurveyQuestionAndErrorsCell } from "./reactquestion";
import { QuestionMatrixDropdownModelBase, Question } from "survey-core";
export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElementBase {
constructor(props: any);
protected get question(): QuestionMatrixDropdownModelBase;
private getState;
private updateStateOnCallback;
componentDidMount(): void;
componentWillUnmount(): void;
protected renderElement(): React.JSX.Element;
renderTableDiv(): React.JSX.Element;
}
export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
constructor(props: any);
private get cell();
protected get itemCss(): string;
protected getQuestion(): Question | any;
protected doAfterRender(): void;
protected getShowErrors(): boolean;
protected getCellStyle(): any;
protected getHeaderText(): string;
protected renderElement(): React.JSX.Element | null;
protected renderCellContent(): React.JSX.Element;
protected renderQuestion(): React.JSX.Element;
private renderOtherComment;
private renderCellCheckboxButton;
private renderCellRadiogroupButton;
private getCellAriaLabel;
}