3.2.0 • Published 1 year ago

material-ui-numeric-input v3.2.0

Weekly downloads
5
License
MIT
Repository
github
Last release
1 year ago

material-ui-numeric-input

Numeric Input for interfaces built with Material-UI for React

NPM JavaScript Style Guide

Updates

2.0.0

  • Updated material-ui to version 5
  • Removed styled-components in order to use material styled API
  • Other packages updated

1.0.7

  • Value prop now works as expected, like disabled inputs with calc.

1.0.6

  • Input output value is now just a Number

1.0.5

  • Value prop is now optional, the input have its own internal state
  • Target output value is now a valid Number string

Install

NPM

npm install --save material-ui-numeric-input

Yarn

yarn add material-ui-numeric-input

Usage

Demo: https://sampaioleal.github.io/material-ui-numeric-input

import React from 'react';
import NumericInput from 'material-ui-numeric-input';

function Example() {
  return (
    <NumericInput
      name='example'
      precision={3}
      decimalChar=','
      thousandChar='.'
      label='Example'
      onChange={(event) => console.log(event.target.value)}
      variant='outlined'
    />
  );
}

License

MIT © SampaioLeal

3.2.0

1 year ago

3.1.1

2 years ago

3.1.0

2 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.8

3 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago