npm i @hyperobjekt/spi-auth
# or
yarn @hyperobjekt/spi-auth
import { SpiAuth, EmailActionHandler, signOut, logEvent } from "@hyperobjekt/spi-auth";
const App = () => (
<>
<SpiAuth {...props} />
<EmailActionHandler />
<button onClick={signOut} />
</>
);
Wrapper for logEvent from the Firebase SDK
logEvent('custom_event', {
property1: 'foo',
property2: 'bar'
});
Property | Type | Default | Description |
---|---|---|---|
description? |
String | "" |
Introduction text for login modal |
Property | Type | Default | Description |
---|---|---|---|
none |
Updates to permissions are done here
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.