UNPKG

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.

25 lines (24 loc) 835 B
import * as React from "react"; import { Base, Action } from "survey-core"; import { SurveyElementBase } from "../../reactquestion_element"; interface IActionBarItemProps { item: Action; } export declare class SurveyAction extends SurveyElementBase<IActionBarItemProps, any> { private ref; constructor(props: any); get item(): Action; protected getStateElement(): Base; renderElement(): React.JSX.Element; componentWillUnmount(): void; componentDidMount(): void; } export declare class SurveyActionBarItem extends SurveyElementBase<IActionBarItemProps, any> { get item(): Action; protected getStateElement(): Base; renderElement(): React.JSX.Element; renderText(): React.JSX.Element; renderButtonContent(): React.JSX.Element; renderInnerButton(): React.JSX.Element; } export {};