1.2.1 • Published 6 years ago

react-kakao-login-appendchild v1.2.1

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

React Kakaotalk Login

A Component for Kakaotalk Login

NPM Build Status npm bundle size (minified) Test coverage for branches Test coverage for functions Test coverage for lines Test coverage for statements Gitmoji

Getting Started

$ cd /PROJECT/PATH
$ npm i -S react react-dom react-kakao-login

Development

$ npm run demo

Production Bundle

$ npm run bundle

Parameters

ParameterTypeRemarks
jsKeystringRequired
onSuccessfunctionRequired
onFailurefunctionRequired
versionstringOne of v1, v2. default is v2
throughTalkboolIf true, Open Kakao Talk instead of new browser tab
getProfileboolIf true, Can get user's information
useDefaultStyleboolIf true, Use default style
buttonTextstringtextContent of button
classNamestringbutton's className
renderfunctionCan render with return of this instead of button as a child

Usage

Refer demo