Cleave.js-Input Mask
Overview Official Website
Cleave.js javaScript library for formatting input text content when you are typing.
Add
yarn add cleave.js
Import
import Cleave from 'cleave.js/react';
import "cleave.js/dist/addons/cleave-phone.in";
Remove
yarn remove cleave.js / remove specific package from package.json