1.0.3 • Published 6 years ago

finnx-react-linkedin-login v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

React LinkedIn Login Button

react-linkedin-login
import React from 'react'
import LinkedIn from 'react-linkedin-login'
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' />
    )
  }

}