flying hearts animation for React Native.
npm install react-native-flying-hearts
import * as React from 'react';
import { StyleSheet, View } from 'react-native';
import FlyingHearts from "react-native-flying-hearts";
export default function App() {
return (
<View style={styles.container}>
<FlyingHearts />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1
},
});
Props name | Type | Description | Default |
---|---|---|---|
style | ViewStyle | Layout | |
renderCustomShape | Function | Renders a custom shape instead of a heart |
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT