twitter-like-button
v0.1.6
Published
This is the functional twitter like button which you can integrate to your project. To give extra ordinary look
Downloads
9
Maintainers
Readme
Twitter Like Button ❤️
Demo
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
Name | Type | Description | Default
:--- | :--- | :--- | :---
isLiked | Boolean | Used for display heart state | false
onClick | Function | When heart is clicked then it will return true
or false
| () => {}
width | String | Set Dynamic Width | -
height | String | Set Dynamic Width | -