twitter-heart
Version:
Twitter heart animation (Like Component) ❤️
36 lines (24 loc) • 722 B
Markdown
# twitter-heart ❤️
NPM Package to twitter heart (Like component)
## Here is a quick preview

## How to use it?
> This will help you make a single heart component which is like the twitter like
## Installation
```
npm install twitter-heart
```
## Usage
```
import TwitterHeart from 'twitter-heart';
```
### Demo example
```
<TwitterHeart isLiked onHeartClick={this.heartClicked}>
```
## API
### Props
Name | Type | Description | Default
:--- | :--- | :--- | :---
isLiked | boolean | Hold the current heart status | false
onHeartClick | function | event when heart is clicked | null