🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-digits

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-digits

React component for Twitter's Digits

1.0.3
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

react-digits

React component for Twitter's Digits

Usage

import React, { Component } from 'react'
import Digits from 'react-digits';

export default class Login extends Component {
  get consumerKey() {
    return 'ENTER YOUR DIGITS CONSUMER KEY HERE'
  }
  
  handleLogin(resp) {
    console.info(resp)
  }

  render() {
    return (
      <Digits
        consumerKey={ this.consumerKey }
        onLogin={ this.handleLogin.bind(this) } />
    )
  }
}

Keywords

react

FAQs

Package last updated on 28 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts