react-kakao-login-appendchild
v1.2.1
Published
Login with Kakaotalk
Downloads
1
Readme
React Kakaotalk Login
A Component for Kakaotalk Login
Getting Started
$ cd /PROJECT/PATH
$ npm i -S react react-dom react-kakao-login
Development
$ npm run demo
- Open localhost:8888
Production Bundle
$ npm run bundle
Parameters
| 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 |
Usage
Refer demo