OMikkel / tailwind-datepicker-react

A tailwindcss/flowbite datepicker component built as a react component with types
https://omikkel.github.io/tailwind-datepicker-react/
MIT License
160 stars 68 forks source link

Classnames on the Input Field #50

Open EnzeGH opened 11 months ago

EnzeGH commented 11 months ago

Currently, you have this input field provided by the library: image

It'd be amazing if you could style this input field too. I tried using classNames on the DatePicker and change the background color (in this example bg-green-300) but unfortunately it doesn't work as expected (check the edges): image

lucasortigoso commented 3 months ago

try options.theme.input prop, like this:

image