import { AntDesign } from "@expo/vector-icons"; import { router } from "expo-router"; import React from "react"; import { AntDesignIconNames } from "./Icons"; import Button, { ButtonProps } from "./ui/Button"; interface Props extends ButtonProps { icon?: AntDesignIconNames; } export default React.forwardRef( ({ icon, onPress, className, ...props }, ref): React.ReactElement => { const defaultOnPress = () => { router.back(); }; return ( ); } );