farhoudshapouran / react-native-ui-datepicker

Customizable React Native 📅 DatePicker component for Android, iOS, and Web. It includes single, range and multiple modes and supports different locales.
https://farhoudshapouran.github.io/react-native-ui-datepicker/
MIT License
275 stars 28 forks source link

Header buttons not showing on Web (Next.js) #11

Closed MustafaAlsihati closed 8 months ago

MustafaAlsihati commented 8 months ago

Hello!

I'm using React Native (solito) running on web, but it seems that the header buttons are not showing on web, I tried to find the reason it seems that the images are not loaded, maybe it's an issue with next.js only I'm not sure, but maybe if we can add a custom buttons will solve it? or use Svg icon instead of an image?

Here's a screenshot for web: image

This is in Android (working fine also on iOS): image

Other than that it's a great work, working like charm in both Android & iOS! 🌹

farhoudshapouran commented 8 months ago

Hello @MustafaAlsihati, thank you for reporting this, I am working on it to enable adding custom icon buttons.

farhoudshapouran commented 8 months ago

Now we can define custom icons for prev and next buttons with these options:

buttonPrevIcon
buttonNextIcon
MustafaAlsihati commented 8 months ago

Now we can define custom icons for prev and next buttons with these options:

buttonPrevIcon
buttonNextIcon

@farhoudshapouran That's awesome! Thanks 🌹