1.0.2 • Published 2 years ago

@romain-faust/sign-in-with-email-and-password v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@romain-faust/sign-in-with-email-and-password

Generic set of tools related to email and password connection.

Installation

With NPM:

npm install @romain-faust/sign-in-with-email-and-password

With PNPM:

pnpm add @romain-faust/sign-in-with-email-and-password

With Yarn:

yarn add @romain-faust/sign-in-with-email-and-password

Dependencies

Usage

import type { SignInWithEmailAndPassword } from '@romain-faust/sign-in-with-email-and-password'

const SignInWithEmailAndPasswordForm = () => {
    const signInWithEmailAndPassword: SignInWithEmailAndPassword = getSignInWithEmailAndPassword()

    const handleFormSubmit = () => {
        signInWithEmailAndPassword('email@example.com', '••••••').subscribe()
    }

    // ...
}

License

MIT

1.0.2

2 years ago

1.0.1

2 years ago