Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 638 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 638 Bytes

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.