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

none

Package Sidebar

Install

npm i tk-login-dev

Weekly Downloads

1

Version

1.2.6

License

ISC

Unpacked Size

467 kB

Total Files

7

Last publish

Collaborators

  • ed.techkids