diff --git a/components/FloatingButton.js b/components/FloatingButton.js
new file mode 100644
index 0000000..1b4e531
--- /dev/null
+++ b/components/FloatingButton.js
@@ -0,0 +1,29 @@
+import { Text, TouchableOpacity } from "react-native";
+import Icon from "react-native-vector-icons/Ionicons";
+
+function FloatingButton() {
+ return (
+ {
+ alert("Button is pressed");
+ }}
+ >
+
+
+ );
+}
+
+export default FloatingButton;
diff --git a/screens/MainScreen.js b/screens/MainScreen.js
index 6fc9bcc..8401ed2 100644
--- a/screens/MainScreen.js
+++ b/screens/MainScreen.js
@@ -1,10 +1,13 @@
import { StatusBar } from "expo-status-bar";
import { Text, View, StyleSheet } from "react-native";
+import FloatingButton from "../components/FloatingButton";
+
function MainScreen() {
return (
Open up App.js to start working on your app!
+
);