UNPKG

styled-hook-form

Version:

React form library for styled-components based on grommet and react-hook-form

6 lines (5 loc) 473 B
import { UseFormReturn } from "react-hook-form"; import { FormField } from "../types"; import React from "react"; export declare const renderChildren: (children: React.ReactChild | ((methods: UseFormReturn) => React.ReactNode), methods: UseFormReturn) => {} | null | undefined; export declare const renderField: (field: FormField, methods: UseFormReturn<any>, editorWrapComponent: React.ReactElement | undefined, shouldUnregister?: boolean | undefined) => React.ReactNode;