react-phone-input-2
react-phone-input-2 copied to clipboard
Default error message as react node
Seeing that the component directly renders the errorMessage inside a container div, I've changed the type from string to React.ReactNode to allow for richer interactions, as we needed to put links to do "stuff".