Rudeg / react-input-calendar

http://rudeg.github.io/react-input-calendar/
MIT License
139 stars 94 forks source link

Adds option to set the className on the input field #42

Closed ianwitherow closed 8 years ago

ianwitherow commented 8 years ago

Allows you to specify the className for the input field. I needed this since I'm using Bootstrap, so I can set the input class to "form-control", etc. Defaults to the original class name of "input-calendar-value".

Rudeg commented 8 years ago

Hey, please fix intends and I'll merge it

ianwitherow commented 8 years ago

Will do, sorry, it looked normal in my editor. Which do you prefer? I see a mixture of 2 spaces and 4. Looks like 4 spaces is more common.

ianwitherow commented 8 years ago

Should be good. I think vim was having issues because of the two different styles so I had to go about it a little differently.

Rudeg commented 8 years ago

Cool, thanks!