0.1.6 • Published 3 years ago

twitter-like-button v0.1.6

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Twitter Like Button ❤️

Demo

demo-counter

Code Sandbox link

Installation

npm i twitter-like-button

or 

yarn add twitter-like-button

Usage

import TwitterLikeButton from 'twitter-like-button'

Demo example

<TwitterLikeButton isLiked={state} onClick={e => setState(e)}/>

Props

NameTypeDescriptionDefault
isLikedBooleanUsed for display heart statefalse
onClickFunctionWhen heart is clicked then it will return true or false() => {}
widthStringSet Dynamic Width-
heightStringSet Dynamic Width-
0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

1.0.0

3 years ago