UNPKG

rfa

Version:

**React Form Architect** is an ultimate solution for creating and rendering forms in React. Its main focus is to provide users with a tool to define, render and share a form in a browser.

10 lines (9 loc) 415 B
/// <reference types="react" /> import { FormContextType, FormFieldError } from "../../types/common-form-components-types"; import { SwitchProps as MuiSwitchProps } from "@material-ui/core"; export declare type SwitchProps = FormContextType & FormFieldError & { label: string; helperText?: string; muiProps?: MuiSwitchProps; }; export declare const Switch: (props: SwitchProps) => JSX.Element;