summaryrefslogtreecommitdiff
path: root/src/react-native-app/components/navigation
diff options
context:
space:
mode:
Diffstat (limited to 'src/react-native-app/components/navigation')
-rw-r--r--src/react-native-app/components/navigation/TabBarIcon.tsx14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/react-native-app/components/navigation/TabBarIcon.tsx b/src/react-native-app/components/navigation/TabBarIcon.tsx
new file mode 100644
index 0000000..42f43b2
--- /dev/null
+++ b/src/react-native-app/components/navigation/TabBarIcon.tsx
@@ -0,0 +1,14 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+// 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} />;
+}