import * as React from 'react' ; import { ReactNode } from 'react' ; import { FormContextValue } from '../types' ; import { FormContext } from './FormContext' ; param props param { ReactNode } props . children param { FormContextValue } props . value export const FormContextProvider = ( { children , value , } ) => < FormContext . Provider value = { value } > { children } < /FormContext.Provider>;