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.
17 lines (16 loc) • 782 B
TypeScript
import * as React from "react";
import { QuestionCheckboxModel } from "survey-core";
import { SurveyQuestionSelectBaseItem, SurveyQuestionSelectbase } from "./reactquestion_selectbase";
export declare class SurveyQuestionCheckbox extends SurveyQuestionSelectbase {
constructor(props: any);
protected get question(): QuestionCheckboxModel;
protected renderHeader(): React.JSX.Element | null;
protected getHeader(): React.JSX.Element[];
}
export declare class SurveyQuestionCheckboxItem extends SurveyQuestionSelectBaseItem {
constructor(props: any);
protected doOnItemChange(event: any): void;
protected renderElementContent(): React.JSX.Element;
protected get inputStyle(): any;
protected renderCheckbox(isChecked: boolean): React.JSX.Element;
}