import { Pressable } from 'react-native'; import { Ionicons } from '@expo/vector-icons'; import type { PressableProps } from 'react-native'; import type { ComponentProps } from 'react'; type Props = PressableProps & { name: ComponentProps['name']; size?: number; color?: string; className?: string; badge?: number; }; export function IconButton({ name, size = 22, color = '#0a0a0a', className = '', badge, ...rest }: Props) { return ( ); }