UNPKG

survey-react-ui

Version:

survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.

26 lines (25 loc) 1.16 kB
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(key: string, 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; }