catamphetamine / react-phone-number-input

React component for international phone number input
http://catamphetamine.gitlab.io/react-phone-number-input/
MIT License
914 stars 194 forks source link

Customization props #346

Closed Dima-Dim closed 4 years ago

Dima-Dim commented 4 years ago

Now all unrecognized components of props are passed as attributes to the DOM element and this causes problems. For example, you need to pass parameters to styled components, and naturally, these are not valid attributes for the DOM element and an error appears in the console. You need to be able to explicitly indicate that we are passing the component for the attributes of the DOM elements, and that it is just like properties for other uses.

catamphetamine commented 4 years ago

Duplicate