This repository has been archived on 2024-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
p61-project/presentation/react/components/TabBarIcon.tsx

14 lines
330 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} />
}