react-native-calendars icon indicating copy to clipboard operation
react-native-calendars copied to clipboard

Custom header of CalendarProvider is error

Open gshoanganh opened this issue 10 months ago • 0 comments

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>

gshoanganh avatar Apr 23 '24 09:04 gshoanganh