import Styles from "@/constants/Styles"; import { Feather } from "@expo/vector-icons"; import { Pressable, Text, View } from "react-native"; type Props = { value: string onPress?: () => void round?: boolean error?: boolean errorText?: string } export default function ButtonSelect({ value, onPress, round, error, errorText }: Props) { return ( {value} {error && ({errorText})} ) }