JSPM

@instructure/ui-number-input

11.2.1-snapshot-9
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5407
  • Score
    100M100P100Q142083F
  • License MIT

A UI component library made by Instructure Inc.

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

npm MIT License Code of Conduct

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-input

Usage

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.