1.0.2 • Published 7 years ago

react-linkedin-auth v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

React LinkedIn Auth Forked from React LinkedIn Login

react-linkedin-auth
import React from 'react'
import LinkedIn from 'react-linkedin-auth'
import styles from './styles.css'
import autobind from 'autobind-decorator'

export default class LoginWithLinkedin extends React.Component {

  static propTypes = {

  }

  @autobind
  callbackLinkedIn ({code, redirectUri}) {
    // Login with linkedin
  }

  render () {
    return (
      <LinkedIn
        clientId='xxx'
        callback={this.callbackLinkedIn}
        className={styles.linkedin}
        text='LinkedIn' />
    )
  }

}