interface FormContextProviderProps {
    children?: ReactNode | ((props: FormContextProps) => ReactNode);
    initialValues?: Record<string, string>;
}

Properties

children?: ReactNode | ((props: FormContextProps) => ReactNode)

Any react node. Can optionally use render function to return context props.

initialValues?: Record<string, string>

Record of initial values