import { containers } from "@styles/Commons"; import { useEffect } from "react"; import { Animated, Dimensions } from "react-native"; import Box from "./bases/Box"; type Props = { children: React.ReactNode }; const ContainerBorderTopCurved = ({ children }: Props) => { const animated = new Animated.Value(0); // biome-ignore lint/correctness/useExhaustiveDependencies: useEffect(() => { Animated.spring(animated, { toValue: 1, useNativeDriver: true, }).start(); }, []); return ( {children} ); }; export default ContainerBorderTopCurved;