import { ColorsStatus } from "@/constants/ColorsStatus" import Styles from "@/constants/Styles" import { Text, TouchableOpacity } from "react-native" type Props = { active: string value: string onPress: () => void label: string icon: React.ReactNode n: number } export default function ButtonTab({ active, value, onPress, label, n, icon }: Props) { return ( { onPress() }}> {icon} {label} ) }