tk-login-dev
1.2.6 • Public • Published Package for logging in TechKids Edu system
Usage
<Login
firebaseConfig={{
apiKey: <<API Key>>,
authDomain: <<Auth Domain>>,
databaseURL: <<Database URL>>,
projectId: <<Project Id>>,
storageBucket: <<Storage bucket>>,
messagingSenderId: <<Messaging Sender Id>>,
}}
authUrl={<<Authentication Url>>}
idUrl={<<ID Url>>}
>
<MainComponent />
</Login>
const MainComponent = (props) => {
const { getToken } = props; // Function will return promise with token
....
}
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads