import { AccentColor, MainColor } from "@/constants/color-palet"; import { View } from "react-native"; import ButtonCustom from "../Button/ButtonCustom"; import Spacing from "./Spacing"; export default function TabsTwoButtonCustom ({ leftValue, rightValue, leftText, rightText, activeCategory, handlePress, hideBackground, }: { leftValue: string; rightValue: string; leftText: string; rightText: string; activeCategory: string | null; handlePress: (item: string) => void; hideBackground?: boolean; }) { return ( <> handlePress(leftValue)} > {leftText} handlePress(rightValue)} > {rightText} ); }