Package Exports
- @instructure/ui-number-input
- @instructure/ui-number-input/es/index.js
- @instructure/ui-number-input/lib/NumberInput
- @instructure/ui-number-input/lib/NumberInput/index.js
- @instructure/ui-number-input/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-number-input) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ui-number-input
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
npm install @instructure/ui-number-inputUsage
import React from 'react'
import { NumberInput } from '@instructure/ui-number-input'
const MyNumber = () => {
return (
<NumberInput
label="..."
onChange={...}
onDecrement={...}
onIncrement={...}
value={...}
/>
)
}For detailed usage and documentation, see NumberInput examples.