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.
11 lines (10 loc) • 455 B
TypeScript
import React from "react";
import { ValidatorCommonProps } from "./index";
declare type ValidatorProps = ValidatorCommonProps & {
controlComponent: React.FC<any>;
controlComponentProps: any;
defaultErrorMessage?: string;
className?: string;
};
export declare const Validator: ({ controlComponent, controlComponentProps, name, register, disabledParam, defaultErrorMessage, className, }: ValidatorProps) => JSX.Element;
export {};