Skip to content

denisu08/wirecase-authentication-token

Repository files navigation

wirecase-authentication-token

Wirecase Authentication Token Component.

NPM JavaScript Style Guide

NPM version npm download

Install

npm install --save wirecase-authentication-token

wirecase-authentication-token

Usage

import React, { Component } from "react";

import AuthenticationTokenComponent from "wirecase-authentication-token";

class Example extends Component {
    render() {
        return (
            <AuthenticationTokenComponent
                label="Auth Token"
                placeholder="input token here..."
                maxLength={6}
                value={{
                    authType: "softToken",
                    challenge: `${Math.ceil(Math.random() * 999999)}`
                }}
            />
        );
    }
}

Demo

http://denisu08.github.io/wirecase-authentication-token

JSFiddle Example

http://jsfiddle.net/denisu08/xxxxxxx/

What

alt pic

License

MIT © denisu08

About

Wirecase Authentication Token Component.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published