QuantityButton

private fun QuantityButton(appearance: QuantityButtonAppearance, quantityAction: () -> Unit, longPressQuantityAction: () -> Unit? = null)

Custom Box used to handle the quantity value picked by the QuantityPicker

Since

1.1.0

Parameters

appearance

The appearance for the button

quantityAction

The callback action invoked to decrement or increment the quantity picked

longPressQuantityAction

The callback action invoked after the button has been double-clicked or long pressed the button