import { Image } from '@/components/ui/image';
import { Text } from '@/components/ui/text';
import { View } from '@/components/ui/view';
import { useColor } from '@/hooks/useColor';
import { FONT_SIZE } from '@/theme/globals';
import { ImageProps, ImageSource } from 'expo-image';
import { TextStyle, ViewStyle } from 'react-native';
interface AvatarProps {
children: React.ReactNode;
size?: number;
style?: ViewStyle;
}
export function Avatar({ children, size = 40, style }: AvatarProps) {
return (
{children}
);
}
interface AvatarImageProps {
source: ImageSource;
style?: ImageProps['style'];
}
export function AvatarImage({ source, style }: AvatarImageProps) {
return ;
}
interface AvatarFallbackProps {
children: React.ReactNode;
style?: ViewStyle;
textStyle?: TextStyle;
}
export function AvatarFallback({
children,
style,
textStyle,
}: AvatarFallbackProps) {
const mutedColor = useColor('muted');
const mutedForegroundColor = useColor('mutedForeground');
return (
{children}
);
}