1
1
mirror of https://github.com/theoludwig/p61-project.git synced 2024-07-17 07:00:12 +02:00
p61-project/presentation/react-native/ui/TabBarIcon.tsx

14 lines
332 B
TypeScript

import FontAwesome from "@expo/vector-icons/FontAwesome"
/**
* @see https://icons.expo.fyi/
* @param props
* @returns
*/
export const TabBarIcon: React.FC<{
name: React.ComponentProps<typeof FontAwesome>["name"]
color: string
}> = (props) => {
return <FontAwesome size={28} style={[{ marginBottom: -3 }]} {...props} />
}