This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect } from "react"; | |
import Animated, { FadeOut, withDelay, withTiming, useSharedValue, useAnimatedStyle, cancelAnimation } from "react-native-reanimated"; | |
import PropTypes from "prop-types"; | |
import { Dimensions, StyleSheet } from "react-native"; | |
import FastImage from "react-native-fast-image"; | |
import ConfettiImage from "../../../assets/img/confetti.png"; | |
const NUM_CONFETTI = 100; | |
const COLORS = ["#31ECBC", "#E0DAFE", "#6345F9"]; | |
const CONFETTI_SIZE = 16; |