UNPKG

@heroui/number-input

Version:

The numeric input component is designed for users to enter a number, and increase or decrease the value using stepper buttons

15 lines (12 loc) 518 B
import * as _heroui_system from '@heroui/system'; import { UseNumberInputProps } from './use-number-input.mjs'; import '@react-types/button'; import 'react'; import '@heroui/theme'; import '@react-types/numberfield'; import '@react-stately/numberfield'; interface NumberInputProps extends Omit<UseNumberInputProps, "type"> { type?: "number"; } declare const NumberInput: _heroui_system.InternalForwardRefRenderFunction<"input", NumberInputProps, never>; export { type NumberInputProps, NumberInput as default };