react-native-ui-datepicker
react-native-ui-datepicker copied to clipboard
Why is dayContainerStyle not applied on days not in the current month?
Hi there,
Just trying to custom the date picker style.
Why are dates oustide of the current month not using the dayContainerStyle?
https://github.com/farhoudshapouran/react-native-ui-datepicker/blob/bd0cea9ac92dd5d2e85c4b231d853413bb40a32f/src/components/Day.tsx#L56
I have also other issues with styling some containers:
- The DaySelector container has a top padding of 5 which is not editable; the workaround which works only with a fixed height is to set add 5 (the padding top value) to the desired height
- The container inside the Header also has a padding which is not editable neither; the workaround is to put a negative margin on the Header container style
- There is also no way to set
justify-content: space-betweenon the main container, nor to add children directly in the main container; we could use a custom Calendar.tsx based on the package's one, but with children and custom styles props, is this the way?
Thanks!