UNPKG

react-formawesome-core

Version:
13 lines (12 loc) 445 B
import * as React from "react"; export interface FormGroupContextInterface { error?: string; value: any; isFocused: boolean; onChange: (value: any) => void | Promise<void>; onFocus: () => void | Promise<void>; onBlur: () => void | Promise<void>; registerElement: (element: any) => void; unregisterElement: () => void; } export declare const FormGroupContext: React.Context<FormGroupContextInterface>;