import { Button, Icon, LoaderSpinner } from '@theme/components'; interface QuantityInputProps { quantity: number; onChange?: (newQuantity: number) => void; min?: number; max?: number; isLoading?: boolean; disabled?: boolean; className?: string; } export const QuantityInput = ({ quantity, onChange, min = 1, max = 999, isLoading = false, disabled = false, className = '' }: QuantityInputProps) => { const handleDecrease = () => { if (quantity > min && onChange) { onChange(quantity - 1); } }; const handleIncrease = () => { if (quantity < max && onChange) { onChange(quantity + 1); } }; return (