JSPM

@instructure/ui-number-input

5.44.1-rc.22+1ac04113
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6349
  • Score
    100M100P100Q143550F
  • License MIT

A UI component library made by Instructure Inc.

Package Exports

  • @instructure/ui-number-input
  • @instructure/ui-number-input/lib/components/NumberInput
  • @instructure/ui-number-input/lib/components/NumberInput/locator

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


category: packages

ui-number-input

npm build-status MIT License Code of Conduct

This package contains the NumberInput component. This is a low-level controlled component that only handles rendering. All behavior (stepping, number parsing, localization, etc.) should be handled by a wrapper component.

Installation

yarn add @instructure/ui-number-input

Usage

import React from 'react'
import NumberInput from '@instructure/ui-number-input'

export default function Example () {
  return (
    <NumberInput
      label="..."
      onChange={...}
      onDecrement={...}
      onIncrement={...}
      value={...}
    />
  )
}

See this working example for details.

License

MIT