API Reference > ui-components > Inputs > QuantityProps QuantityProps Interface Beta Props for QuantityInput control Extends CommonProps Methods Name Description onQuantityChange(newQuantityValue: number): void Function to call in the quantity value is changed. Properties Name Type Description initialValue number Initial magnitude in 'persistence' units. quantityType QuantityTypeArg Type of quantity being input. readonly undefined | boolean Set to true if value is for display only ref undefined | Ref<HTMLInputElement> Provides ability to return reference to HTMLInputElement Inherited properties Name Type Inherited from Description className undefined | string CommonProps Custom CSS class name style undefined | CSSProperties CommonProps Custom CSS style properties Defined in ui/components/src/ui-components/inputs/QuantityInput.tsx Line 21 Last Updated: 12 June, 2024