A Component for Kakaotalk Login
$ cd /PROJECT/PATH
$ npm i -S react react-dom react-kakao-login
$ npm start
$ npm run bundle
Parameter | Type | Remarks |
---|---|---|
jsKey | string | Required |
onSuccess | function | Required |
onFailure | function | Required |
version | string | One of [v1 , v2 ]. default is v2 |
throughTalk | bool | If true, Open Kakao Talk instead of new browser tab |
getProfile | bool | If true, Can get user's information |
useDefaultStyle | bool | If true, Use default style |
buttonText | string | textContent of button |
className | string | button 's className |
render | function | Can render with return of this instead of button as a child |