1.2.5 • Published 4 years ago
react-firebase-login v1.2.5
react-firebase-login
A basic login portal that can be used for a react firebase website.
Usage
Ensure Firebase has been initialized before anything else is done.
const {LoginPortal} = import('react-firebase-login');
const withLogin = (component) => {
return () => (
<LoginPortal>
{component}
</LoginPortal>
);
}
// ...
// Route to it
// ...
<Route path={SOME_ROUTE} render={withLogin(<SomeScreen/>)}/>You may also use only the LoginContent component and place it within
your own login screen like:
const {LoginContent} = import('react-firebase-login');Firebase config for test environment:
See FIREBASE_CONFIG_README.md in src/Config.
You add the config file FIREBASE_CONFIG.json at that level.
That config file gets ignored by version control.
For Developer
Remember to npm run build before npm publish.
1.2.0
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.1.9
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago