summaryrefslogtreecommitdiff
path: root/components/navigation/TabBarIcon.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/navigation/TabBarIcon.tsx')
-rw-r--r--components/navigation/TabBarIcon.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/components/navigation/TabBarIcon.tsx b/components/navigation/TabBarIcon.tsx
new file mode 100644
index 0000000..b7302c3
--- /dev/null
+++ b/components/navigation/TabBarIcon.tsx
@@ -0,0 +1,9 @@
+// You can explore the built-in icon families and icons on the web at https://icons.expo.fyi/
+
+import Ionicons from '@expo/vector-icons/Ionicons';
+import { type IconProps } from '@expo/vector-icons/build/createIconSet';
+import { type ComponentProps } from 'react';
+
+export function TabBarIcon({ style, ...rest }: IconProps<ComponentProps<typeof Ionicons>['name']>) {
+ return <Ionicons size={28} style={[{ marginBottom: -3 }, style]} {...rest} />;
+}