1.0.3 • Published 6 years ago
finnx-react-linkedin-login v1.0.3
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' />
)
}
}
1.0.3
6 years ago