@hyperobjekt/spi-auth

1.2.2 • Public • Published

npm (scoped)

@hyperobjekt/spi-auth

Installation

npm i @hyperobjekt/spi-auth
# or
yarn @hyperobjekt/spi-auth

Usage

import { SpiAuth, EmailActionHandler, signOut, logEvent } from "@hyperobjekt/spi-auth";

const App = () => (
  <>
    <SpiAuth {...props} />
    <EmailActionHandler />
    <button onClick={signOut} />
  </>
);

logEvent

Wrapper for logEvent from the Firebase SDK

logEvent('custom_event', {
  property1: 'foo',
  property2: 'bar'
});

<SpiAuth />

Property Type Default Description
description? String "" Introduction text for login modal

<EmailActionHandler />

Property Type Default Description
none

Contributing

Updates to permissions are done here

Deployments

Publish to npm by running npm version <patch|major|minor> and npm publish. SPI's dev team can then take over and update the package on their end.

Readme

Keywords

none

Package Sidebar

Install

npm i @hyperobjekt/spi-auth

Weekly Downloads

6

Version

1.2.2

License

MIT

Unpacked Size

16.1 MB

Total Files

17

Last publish

Collaborators

  • chris_hull
  • laneolson