Sprawdź prawidłowe liczby fonenaum
import { isValidPhoneNumber } from 'libphonenumber-js'
//for e.g.
isValidPhoneNumber('8 (888) 888-88-88', 'RU') === false
isValidPhoneNumber('8 (800) 555-35-35', 'RU') === true
isValidPhoneNumber('+12223333333') === false
isValidPhoneNumber('+12133734253') === true
Jaimin Patel