ibf-auth-hoc
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

ibf-auth-hoc

Authentication wrapper library for ibf

NPM JavaScript Style Guide

Install

npm install --save ibf-auth-hoc
yarn add ibf-auth-hoc

Usage

import * as React from 'react'
 
import Auth from 'ibf-auth-hoc'
 
class Example extends React.Component {
  render () {
    return (
        <Auth onError={() => ()}>
              onSuccess={(response) => {
                ...
              }}
            <>
            ...
            </>
        </Auth>
    )
  }
}

License

MIT © caberrio

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.22latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.22
1.1.11
1.1.01
1.0.21
1.0.11
1.0.01

Package Sidebar

Install

npm i ibf-auth-hoc

Weekly Downloads

7

Version

1.1.2

License

MIT

Unpacked Size

58.2 kB

Total Files

10

Last publish

Collaborators

  • alextab93
  • caberrio