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