rut-text-mask
v1.0.1
Published
A plugin for the wrapper on top of another plugin. All of this to facilitate RUT validation.
Downloads
797
Maintainers
Readme
:trollface: :hankey: Welcome to rut-text-mask!
Designed for use with text-mask plugin:
https://github.com/text-mask/text-mask
Install Package
npm i -S rut-text-mask
or
yarn add rut-text-mask
Import Plugin
import RutTextMask from 'rut-text-mask';
Basic Usage
<MaskedInput
mask={RutTextMask}
/>
Tested with the following RUTs:
3179367K
39577747
127314454
20483086K
5531681-3
21128922-8
3.179.367-K
21.128.922-8
21.128.922-k