survey-react-ui
Version:
A free MIT-licensed React UI component that renders dynamic, interactive JSON-based forms and surveys. You can use it to collect responses from users and send them to your own database.
22 lines (21 loc) • 803 B
TypeScript
import * as React from "react";
import { Base, Action, ActionContainer } from "survey-core";
import { SurveyElementBase } from "../../reactquestion_element";
export * from "./action-bar-item-dropdown";
export * from "./action-bar-separator";
interface IActionBarProps {
model: ActionContainer<Action>;
handleClick?: boolean;
}
export declare class SurveyActionBar extends SurveyElementBase<IActionBarProps, any> {
private rootRef;
constructor(props: IActionBarProps);
private get handleClick();
get model(): ActionContainer<Action>;
componentDidMount(): void;
componentWillUnmount(): void;
componentDidUpdate(prevProps: IActionBarProps, prevState: any): void;
protected getStateElement(): Base;
renderElement(): any;
renderItems(): React.JSX.Element[];
}