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.

13 lines (12 loc) 521 B
/// <reference types="react" /> import { FormContextType, FormFieldError } from "../../types/common-form-components-types"; import { CheckboxProps as MUIProps } from "@material-ui/core"; import { OptionType } from "../../model"; export declare type CheckBoxProps = FormContextType & FormFieldError & { label?: string; helperText?: string; options: (OptionType & { MuiProps?: Exclude<MUIProps, OptionType>; })[]; }; export declare const CheckBox: (props: CheckBoxProps) => JSX.Element;