text: import React from "react";
  import { StyleSheet, Text, TouchableOpacity } from "react-native";
  
  export const FloatActionButton = ({ onPress }) => {
    return (
      <TouchableOpacity style={styles.buttonContainer} onPress={onPress}>
        <Text style={styles.buttonText}>+</Text>
      </TouchableOpacity>
    );
  };
  
  const styles = StyleSheet.create({
    buttonContainer: {
      position: "absolute",
      bottom: 40,
      right: 40,
      backgroundColor: "#30d158",
      height: 50,
      width: 50,
      borderRadius: 25,
      justifyContent: "center",
      alignItems: "center",
    },
  
    buttonText: {
      fontSize: 26,
    },
  });
  