tl-react-numeric-input

1.3.3 • Public • Published

TLNumericInput

TLNumericInput

React component as a numeric input field

Known Vulnerabilities GitHub issues Maintainability npm version Open Source Love David David David

npmjs

Installation

Use the package manager to install tl-react-numeric-input:

  yarn add tl-react-numeric-input
  # or
  npm i tl-react-numeric-input

Demo

Download and unzip archive or clone with command:

  git clone https://github.com/MitrofD/tl-react-numeric-input.git

Then install dependencies:

  yarn install
  # or
  npm install

Last step run start command:

  yarn run start
  # or
  npm run start

Usage

  import TLNumericInput from 'tl-react-numeric-input';

  <TLNumericInput onSet={handleOnSet} />

Your handler for the onSet event should expect a TLNumericInput. For example:

  function handleOnSet(numericInput) {
    this.setState({
      numeric: numericInput.value
    });
  }

Attributes

All attributes for input with number type + optional onSet handler

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.3.33latest

Version History

VersionDownloads (Last 7 Days)Published
1.3.33
1.3.20
1.3.10
1.3.00
1.2.90
1.2.80
1.2.70
1.2.60
1.2.50
1.2.41
1.2.30
1.2.20
1.2.10
1.2.00
1.1.90
1.1.81
1.1.71
1.1.60
1.1.50
1.1.40
1.1.31
1.1.22
1.1.10
1.1.00
1.0.90
1.0.80
1.0.70
1.0.60
1.0.51
1.0.40
1.0.30
1.0.11
1.0.00

Package Sidebar

Install

npm i tl-react-numeric-input

Weekly Downloads

11

Version

1.3.3

License

MIT

Unpacked Size

48.3 kB

Total Files

17

Last publish

Collaborators

  • mitrophd