UNPKG

survey-creator-react

Version:

A white-label drag-and-drop form builder for React that lets you design complex, interactive forms and surveys without writing code. It generates JSON schemas used by the SurveyJS Form Library to render dynamic forms in your React app.

16 lines (15 loc) 766 B
import * as React from "react"; import { Base } from "survey-core"; import { QuestionRatingAdornerViewModel } from "survey-creator-core"; import { QuestionAdornerComponentProps } from "./Question"; import { CreatorModelElement } from "../ModelElement"; export declare class QuestionRatingAdornerComponent extends CreatorModelElement<QuestionAdornerComponentProps, any> { private modelValue; protected createModel(props: any): void; protected createQuestionViewModel(props: any): QuestionRatingAdornerViewModel; protected getUpdatedModelProps(): string[]; get ratingModel(): QuestionRatingAdornerViewModel; get model(): QuestionRatingAdornerViewModel; protected getStateElement(): Base; protected renderElement(): React.JSX.Element; }