@berlinsms/react-twofa-component-mail
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

@berlinsms/react-twofa-component is a TypeScript React Component to validate an E-Mail adress using a Two Factor Authentification.

BerlinSMS - still under development!

Install the package using

npm -i @berlinsms/react-twofa-component

Usage

import {TwoFA} from '@berlinsms/react-twofa-component-mail';

// Minimal implementation:
<TwoFA
    bsmsSitekey = {"your sitekey"}
/>

// Complete implementation: 
<TwoFA
    ref={twoFARef}                    
    bsmsSitekey = {"your sitekey"}
    onError = {TwoFAonError}
    onVerify = {TwoFAonVerify}
    onExpire = {TwoFAonExpire}
/>

Package Sidebar

Install

npm i @berlinsms/react-twofa-component-mail

Weekly Downloads

0

Version

0.1.3

License

MIT

Unpacked Size

4.28 MB

Total Files

82

Last publish

Collaborators

  • berlinsms-dev
  • alexw_berlinsms
  • hagen.meutzner