t0gre / react-datepicker

An easily internationalizable, accessible, mobile-friendly datepicker library for the web, build with styled-components.
https://react-datepicker.netlify.com/
MIT License
331 stars 54 forks source link

Is there any way to create a border radius effect on the input?? #137

Open solmartinezp opened 2 years ago

solmartinezp commented 2 years ago

Is it possible to add a border radius to the input where the final selected dates are shown?

t0gre commented 2 years ago

Hi @solmartinezp are you using the styled package or the hooks directly? If you're using the styled package there are a few theme tokens you might find useful. Perhaps one of dateRangeBorderRadius, datepickerBorderRadius or inputLabelBorderRadius?

Theme props are here

dmmz commented 2 years ago

Theme props are here https://github.com/tomgreenwood1/react-datepicker/blob/master/docs/THEME_PROPS.md