survey-creator-react
Version:
Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.
22 lines (21 loc) • 888 B
TypeScript
import * as React from "react";
import { Base } from "survey-core";
import { SurveyElementBase } from "survey-react-ui";
import { SurveyCreatorModel } from "survey-creator-core";
export interface ISurveyCreatorToolboxProps {
model: SurveyCreatorModel;
}
export declare class AdaptiveToolbox extends SurveyElementBase<ISurveyCreatorToolboxProps, any> {
private rootRef;
constructor(props: ISurveyCreatorToolboxProps);
componentDidUpdate(prevProps: any, prevState: any): void;
componentDidMount(): void;
componentWillUnmount(): void;
get creator(): SurveyCreatorModel;
get toolbox(): import("survey-creator-core").QuestionToolbox;
protected getStateElement(): Base;
renderItems(items: Array<any>, isCompact?: boolean): Array<React.JSX.Element>;
renderCategories(): any[];
renderSearch(): React.JSX.Element;
render(): React.JSX.Element;
}