react-auth-wrap-provider

npm npm NPM Snyk Vulnerabilities for npm package Libraries.io dependency status for latest release

Getting Started 🚀

npm i react-auth-wrap-provider

Usage

// index.js
<AuthProvider>
  <App />
</AuthProvider>
// myProtectedPage.js
<ProtectedAuth>{user?.displayName}</ProtectedAuth>