react-kakao-login-appendchild

Login with Kakaotalk

Usage no npm install needed!

<script type="module">
  import reactKakaoLoginAppendchild from 'https://cdn.skypack.dev/react-kakao-login-appendchild';
</script>

README

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

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


Buy Me A Coffee