0.1.6 • Published 2 years ago

twitter-like-button v0.1.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 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

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

1.0.0

2 years ago