UNPKG

survey-creator-react

Version:

Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.

19 lines (18 loc) 781 B
import { Question, SurveyError, SurveyModel } from "survey-core"; import { ISurveyCreator } from "survey-react-ui"; import { SurveyCreatorModel } from "survey-creator-core"; import * as React from "react"; interface IQuestionEditorContentComponentProps { creator: SurveyCreatorModel; survey: SurveyModel; style: any; } export declare class QuestionEditorContentComponent extends React.Component<IQuestionEditorContentComponentProps, any> implements ISurveyCreator { get survey(): SurveyModel; createQuestionElement(question: Question): React.JSX.Element; questionTitleLocation(): string; questionErrorLocation(): string; renderError(key: string, error: SurveyError, cssClasses: any): React.JSX.Element; render(): React.JSX.Element; } export {};