UNPKG

react-auth-verification-context

Version:

react-auth-verification-context is a library that provides a way to manage authentication state in a React application. It is implemented using the React context API, which allows you to pass data through the component tree without having to pass props do

9 lines (8 loc) 633 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AuthActions = exports.useAuth = exports.AuthProvider = void 0; var auth_context_1 = require("./context/auth.context"); Object.defineProperty(exports, "AuthProvider", { enumerable: true, get: function () { return auth_context_1.AuthProvider; } }); Object.defineProperty(exports, "useAuth", { enumerable: true, get: function () { return auth_context_1.useAuth; } }); var auth_reducer_1 = require("./reducers/auth.reducer"); Object.defineProperty(exports, "AuthActions", { enumerable: true, get: function () { return auth_reducer_1.AuthActions; } });