Cleave.js-Input Mask
OverviewOfficial Website
Cleave.js library for formatting input text content when you are typing.
Import Package
<!-- cleave.js -->
import Cleave from "cleave.js/react";
import "cleave.js/dist/addons/cleave-phone.in";
Add Package
yarn add cleave.js --save
Remove Package
yarn remove cleave.js ( you can remove package by removing specific package from package.json )