Skip to content

frankintrahouse/react-linkedin-login

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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' />
    )
  }

}

About

React LinkedIn Login button

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%