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.

14 lines (13 loc) 465 B
import * as React from "react"; import { Switcher } from "survey-creator-core"; import { Base } from "survey-core"; import { SurveyElementBase } from "survey-react-ui"; interface ISwitcherComponentProps { item: Switcher; } export declare class SwitcherComponent extends SurveyElementBase<ISwitcherComponentProps, any> { get item(): Switcher; protected getStateElement(): Base; renderElement(): React.JSX.Element; } export default SwitcherComponent;