UNPKG

@v0xoss/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) 517 B
import * as _v0xoss_system from '@v0xoss/system'; import { UseNumberInputProps } from './use-number-input.js'; import '@react-types/button'; import 'react'; import '@v0xoss/theme'; import '@react-types/numberfield'; import '@react-stately/numberfield'; interface NumberInputProps extends Omit<UseNumberInputProps, "type"> { type?: "number"; } declare const NumberInput: _v0xoss_system.InternalForwardRefRenderFunction<"input", NumberInputProps, never>; export { type NumberInputProps, NumberInput as default };