npm.io
1.0.1 • Published 3 years ago

@weave-design/numeric-input

Licence
Apache-2.0
Version
1.0.1
Deps
5
Size
143 kB
Vulns
0
Weekly
0
Stars
193

Numeric Input

Numeric inputs allow the user to input a number of their choosing and use the up and down keys to increase/decrease the number.

Getting started

Install the package

yarn add @weave-design/numeric-input @weave-design/theme-context @weave-design/theme-data
Import the component
import NumericInput from '@weave-design/numeric-input';

Basic usage

<NumericInput />

Custom CSS

Use the className prop to pass in a css class name to the outermost container of the component. The class name will also pass down to most of the other styled elements within the component.