New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

material-ui-numeric-input-controlled

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material-ui-numeric-input-controlled

Numeric Input for interfaces built with Material-UI for React

  • 3.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 04 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc