import React from 'react' import Animated from 'react-native-reanimated' import { Box } from './Box' import { useTheme } from '@/hooks' import { useBubblesLoader } from '@/hooks/loaders' export type BubblesLoaderType = { color?: string size?: number } const FullCircle = ({ size = 10, color }: BubblesLoaderType): JSX.Element => ( ) export const BubblesLoader = ({ size = 40, color }: BubblesLoaderType): JSX.Element => { const { animatedHeight, animatedRotate, animatedWidth } = useBubblesLoader() const theme = useTheme() const loaderColor = color || theme.colors.text.primary const containerStyle = { width: size, height: size, alignItems: 'center', justifyContent: 'center', } as const const rowStyle = { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', } as const const absoluteStyle = { justifyContent: 'space-between', position: 'absolute', } as const return ( ) }