Class QuantityInput

The "QuantityInput" component is an interface that displays a number in the center, accompanied by two buttons. One button increases the value, while the other decreases it. It is commonly used to quickly adjust the quantity of items.

QuantityInput usage

 <QuantityInput
max={6}
onChange={value => { this.setState({quantity: value})}}
/>

Properties set for QuantityInput.

Param

QuantityInput Properties

Has No Children

Hierarchy

Properties

Properties

timer: any = null