import { View, Text, TouchableOpacity } from 'react-native' import React from 'react' import { MinusIcon, PlusIcon } from 'react-native-heroicons/outline' /** * A reusable component for quantity selection with plus and minus buttons * * @param {Object} props Component props * @param {number} props.quantity Current quantity value * @param {Function} props.onIncrease Function to call when increasing quantity * @param {Function} props.onDecrease Function to call when decreasing quantity * @param {string} props.label Label text to display (optional) * @param {Object} props.containerStyle Additional styles for the container * @returns {React.Component} Quantity selector component */ export default function ProductQuantityInput({ quantity = 1, onIncrease, onDecrease, label = "Quantity", containerStyle = {} }) { return ( {label && {label}} {quantity} ) }