react-number-formatter

This react input component automatically formats phone numbers inside input and returns the number you actually typed.

Browse on unpkg