react-phone-input-2 icon indicating copy to clipboard operation
react-phone-input-2 copied to clipboard

Default error message as react node

Open fcomabella-signaturit opened this issue 2 years ago • 0 comments

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".

fcomabella-signaturit avatar Aug 02 '22 13:08 fcomabella-signaturit