import { BoxTokens, useResolveBoxTokens } from "design-system/hooks/useResolveBoxTokens"; import { RemoveStyle } from "design-system/tools/useStyle"; import React, { forwardRef, useContext } from "react"; import Animated from "react-native-reanimated"; import { SafeAreaViewProps } from "react-native-safe-area-context"; import { BackgroundContext } from "design-system/hooks/useBackgroundColor"; export type BoxProps = BoxTokens & RemoveStyle; export const AnimatedBox = forwardRef(({ children, ...props }, ref) => { const { tokenStyles, paddingValues, style, ...rest } = useResolveBoxTokens(props); const color = useContext(BackgroundContext); return ( {children} ); });