Resolved phone inputs IO-722
This commit is contained in:
@@ -4,5 +4,5 @@ import React from "react";
|
||||
|
||||
export default function PhoneNumberFormatter(props) {
|
||||
const p = parsePhoneNumber(props.children || "", "CA");
|
||||
return p ? <span>{p.formatInternational()}</span> : null;
|
||||
return p ? <span>{p.formatNational()}</span> : null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user