dilipchandima / rn-select-date-range

A simple and fully customizable React Native date range picker component
https://www.npmjs.com/package/rn-select-date-range
MIT License
23 stars 30 forks source link

Unable to reflect background color of selected date. #2

Closed irajsuhail closed 3 years ago

irajsuhail commented 3 years ago

Hi, first of all, thank you for the wonderful project.

While using the DateRangePicker component, when I try to set the background color of the selectedDateStyle to any other color it still reflects red color in the app.

dilipchandima commented 3 years ago

Thanks for using my date range selector

Can you try to use in following manner

selectedDateContainerStyle => for selected container styles selectedDateStyle => for selected Text style

irajsuhail commented 3 years ago

Yep, tried it in the same way but still the same result.

irajsuhail commented 3 years ago

Sorry, The package version was mishandled at the time of install. The rn-select-date-range v2.0.0 works as expected 👍🏻