import React, { useContext } from 'react'; import type { useFormik } from 'formik'; type FastFormContextType = ReturnType; export const FastFormContext = React.createContext( null ); FastFormContext.displayName = 'FastFormContext'; export function useFastFormContext(): FastFormContextType | null { return useContext(FastFormContext); }