Open bravecode opened 1 year ago
This seems like a logical addition, but you can also fully customize styles by overriding the stylesheets as described here: https://wix.github.io/react-native-calendars/docs/Components/Calendar#advanced-styling
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
facing the same issue
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello, Any news on this possible update - being able to implement a custom day header? Or at least add an advanced styling option on individual day header container? At the moment, you can customize
'stylesheet.calendar.header': {
week: { ... }
dayTextAtIndex[1/2/3/...]: { ... }
}
which is the View around the whole week days header and the Text of the day name. I would like to customize each day header container individually.
The main problem being:
In https://github.com/wix/react-native-calendars/blob/master/src/calendar/header/index.tsx , method renderWeekDays
, there's no View around the Text.
Would it be possible to add that?
Description
I need to customize day's header. You allow to configure properties like font size, weight through Theme object but there is one important property missing: color.
Expected Behavior
We could extend Theme object with textDayHeaderColor or implement renderDayHeader function to allow even more customization.
Observed Behavior
Not implemented yet.