UNPKG

@brightlayer-ui/react-auth-workflow

Version:

Re-usable workflow components for Authentication and Registration within Eaton applications.

14 lines (13 loc) 407 B
import { ErrorContext } from './context.js'; import { ErrorContextProvider } from './provider.js'; import { ErrorContextProviderProps } from './types.js'; /** * Hook to get top level error data * * @category Hooks * @private * @internal */ export declare const useErrorContext: () => ErrorContextProviderProps; export type { ErrorContextProviderProps }; export { ErrorContext, ErrorContextProvider };