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.
26 lines (25 loc) • 1.15 kB
TypeScript
import * as React from "react";
import { ReactSurveyElement, SurveyQuestionElementBase } from "./reactquestion_element";
import { QuestionImagePickerModel, ImageItemValue } from "survey-core";
export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
constructor(props: any);
protected get question(): QuestionImagePickerModel;
protected renderElement(): React.JSX.Element;
protected getColumns(cssClasses: any): React.JSX.Element[];
protected getItems(cssClasses: any): Array<any>;
protected get textStyle(): any;
protected renderItem(item: ImageItemValue, cssClasses: any): React.JSX.Element;
}
export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
constructor(props: any);
protected getStateElement(): any;
componentDidMount(): void;
componentWillUnmount(): void;
componentDidUpdate(prevProps: any, prevState: any): void;
private reactOnStrChanged;
protected get cssClasses(): any;
protected get item(): any;
protected get question(): any;
handleOnChange(event: any): void;
protected renderElement(): React.JSX.Element;
}