[fix] fix comments on PR

This commit is contained in:
Arta
2024-01-20 15:36:57 +03:30
parent ad82e72969
commit 4041b9b393
7 changed files with 27 additions and 13963 deletions

View File

@@ -0,0 +1,21 @@
import { FontAwesome } from '@expo/vector-icons';
import Colors from '../constants/Colors';
type Props = {
focused?: boolean;
color?: string;
} & React.ComponentProps<typeof FontAwesome>;
export default function TabBarIcon({
color = Colors.dark.shade300,
focused,
...rest
}: Props) {
return (
<FontAwesome
color={color || (focused ? Colors.dark.purple300 : Colors.dark.shade300)}
size={24}
{...rest}
/>
);
}