1.3.3 • Published 4 years ago

tl-react-numeric-input v1.3.3

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

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

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.9

4 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago