sample-usr / react-phone-input

A simple react component to format phone number as the user types
MIT License
88 stars 80 forks source link

Add custom class names to input #31

Closed DCKT closed 6 years ago

DCKT commented 8 years ago

Hi,

It could be great to customize the input style with custom class :)

MilllerTime commented 7 years ago

Custom classNames is a solid addition!

One nit: Maybe add react and react-dom as peer dependencies? I believe that's the norm, it's friendlier for importing into existing projects.

sample-usr commented 7 years ago

@MilllerTime seems like a good idea, I'll do the changes and push them over the weekend.