react-masked-input

This component allows for simple, fixed with input textboxes to be masked.

Usage no npm install needed!

<script type="module">
  import reactMaskedInput from 'https://cdn.skypack.dev/react-masked-input';
</script>

README

react-masked-input

This component allows for simple, fixed with input textboxes to be masked.

For example:

var MaskedInput = require('./react-masked-input');

<MaskedInput mask='(NNN) NNN - NNNN'
  onChange={this.props.onChange}
  onValue={this.props.value} />