UNPKG

react-quantity-input

Version:

A simple, customizable quantity input component for React that allows users to increment/decrement numeric values.

17 lines (14 loc) 416 B
import React from 'react'; interface IQuantityProps { value?: number | string | undefined; min?: number; max?: number; step?: number; placeholder?: string; maxLength?: number; disabled?: boolean; isInvalid?: boolean; onState?: (e: any) => void; } declare function ReactQuantityInput(props: IQuantityProps): React.JSX.Element; export { type IQuantityProps, ReactQuantityInput };