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.
24 lines (23 loc) • 887 B
TypeScript
import * as React from "react";
import { Base, SurveyModel } from "survey-core";
import { SurveyResultsModel } from "survey-creator-core";
import { CreatorModelElement } from "./ModelElement";
interface ISurveyResultsProps {
survey: SurveyModel;
}
export declare class SurveyResults extends CreatorModelElement<ISurveyResultsProps, any> {
model: SurveyResultsModel;
protected createModel(props: any): void;
protected getUpdatedModelProps(): string[];
protected getStateElement(): Base;
render(): React.JSX.Element;
renderResultAsText(): React.JSX.Element;
renderResultAsTable(): React.JSX.Element;
static renderRows(data: Array<any>): Array<React.JSX.Element>;
}
export declare class SurveyResultsByRow extends CreatorModelElement<any, any> {
private get row();
protected getStateElement(): Base;
render(): React.JSX.Element;
}
export {};