@temporg/ui-number-input
TypeScript icon, indicating that this package has built-in type declarations

99.10.0 • Public • Published

category: packages

ui-number-input

npm  build-status  MIT License  Code of Conduct

A low-level controlled number input component that only handles rendering. All behavior (stepping, number parsing, localization, etc.) should be handled by a wrapper component.

Components

Installation

yarn add @temporg/ui-number-input

Usage

import React from 'react'
import { NumberInput } from '@temporg/ui-number-input'

const MyNumber = () => {
  return (
    <NumberInput
      label="..."
      onChange={...}
      onDecrement={...}
      onIncrement={...}
      value={...}
    />
  )
}

For detailed usage and documentation, see NumberInput examples.

Readme

Keywords

none

Package Sidebar

Install

npm i @temporg/ui-number-input

Weekly Downloads

0

Version

99.10.0

License

MIT

Unpacked Size

68.7 kB

Total Files

20

Last publish

Collaborators

  • npm