Begin migration to expo-router
This commit is contained in:
parent
e373deb347
commit
0347ee6fb7
117 changed files with 8776 additions and 11935 deletions
9
app/components/navigation/TabBarIcon.tsx
Normal file
9
app/components/navigation/TabBarIcon.tsx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// You can explore the built-in icon families and icons on the web at https://icons.expo.fyi/
|
||||
|
||||
import MaterialCommunityIcons from "@expo/vector-icons/MaterialCommunityIcons";
|
||||
import { type IconProps } from '@expo/vector-icons/build/createIconSet';
|
||||
import { type ComponentProps } from 'react';
|
||||
|
||||
export function TabBarIcon({ style, ...rest }: IconProps<ComponentProps<typeof MaterialCommunityIcons>['name']>) {
|
||||
return <MaterialCommunityIcons size={26} style={style} {...rest} />;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue