title: Country Code and Phone number from react-phone-input-2
body: <p>How to store value of country code and only the phone number without country code in two different variables in react js of package react-phone-input-2?
  I am using this package - <a href="https://www.npmjs.com/package/react-phone-input-2" rel="nofollow noreferrer">https://www.npmjs.com/package/react-phone-input-2</a></p>