UNPKG

form-test-victor

Version:

# Performant forms and wizard library for React

25 lines 620 B
import { ReactNode } from 'react'; interface HiddenFieldProps { name: string; children?: ReactNode; } /** * HiddenField, need to be used with useHiddenField hook * @param name - Field name * @param children - Rules (optional) * @example * ``` * const fooHiddenField = useHiddenField('foo'); * return ( * <HiddenField {...fooHiddenField} /> * ) * ``` */ export declare function HiddenField(props: HiddenFieldProps): JSX.Element; export declare namespace HiddenField { var defaultProps: { children: null; }; } export {}; //# sourceMappingURL=HiddenField.d.ts.map