@weave-design/numeric-input
v1.0.1
Published
Weave Numeric Input
Downloads
21
Readme
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.