react-native-calendars
react-native-calendars copied to clipboard
Custom header of CalendarProvider is error
I've tried many different ways, but it seems like the Theme of CalendarProvider has no effect at all. Could someone please help me hide its header? my source code:
<View style={{ height: 130, }}>
<CalendarProvider
date={Date()}
theme={{
'stylesheet.calendar.header': {
header: {
height: 0,
},
}
}}>
<WeekCalendar hideKnob={true} />
</CalendarProvider>
</View>