import Styles from "@/constants/Styles" import { Pressable, View } from "react-native" import Text from "./Text"; type Props = { onPress: () => void icon: React.ReactNode title: string column?: 'many' | 'three' color?: string disabled?: boolean } export default function MenuItemRow({ onPress, icon, title, column, color, disabled }: Props) { return ( { onPress() }} style={[column == 'many' ? Styles.btnMenuRowMany : Styles.btnMenuRow, disabled && { opacity: 0.5 }]}> {icon} {title} ) }