react-native-exploding-heart

with this package you can have the twitter animation heart inside your react native app !

Usage no npm install needed!

<script type="module">
  import reactNativeExplodingHeart from 'https://cdn.skypack.dev/react-native-exploding-heart';
</script>

README

react-native-exploding-heart

Get Started

Installation

npm i lottie-react-native react-native-exploding-heart

or by using yarn

yarn add lottie-react-native react-native-exploding-heart

Usage

import React, {useState} from 'react';
import ExplodingHeart from 'react-native-exploding-heart';
import {View} from 'react-native';

const Home = () => {
    const [isFavorite, setFavorite] = useState(false);
    return (
        <View>
            <ExplodingHeart width={60} status={isFavorite} onChange={(ev) => console.log(ev)}/>
        </View>
    );
}

export default Home;

Report

If there is something you's like to see or request a new feature, please submit an issue or a pull request.


Core Contributors

We are currently looking for new core contributors that can help lead this project.

Learn more here

react-native-exploding-heart