UNPKG

@open-tender/store

Version:

A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API

16 lines (15 loc) 570 B
import { QuantityProps } from '@open-tender/ui'; import { ReactNode } from 'react'; declare const Quantity: ({ quantity, increment, incrementDisabled, decrement, decrementDisabled, fontSize, iconSize, strokeWidth, className, children }: { quantity: number; increment: () => void; incrementDisabled?: boolean; decrement: () => void; decrementDisabled?: boolean; fontSize?: number; iconSize?: number; strokeWidth?: number; className?: string; children: (props: QuantityProps) => ReactNode; }) => ReactNode; export default Quantity;