Can't change the flatlist backgroundColor of Agenda with calendarBackground in theme
See original GitHub issueDescription
renderCalendarList
in agenda does not pass theme to CalendarList, becauseextractCalendarListProps
does not extract theme from props. Due to this problem, even though calendarBackground is set, the backgroundColor of CalendarList inside Agenda cannot be changed.
Expected Behavior
- extractCalendarListProps should extract theme from props.
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:6
Top Results From Across the Web
React Native Calendars : How to change the background ...
React Native Calendars : How to change the background color of only one item using Redux ; React, {useState, useCallback, useEffect} from 'react' ......
Read more >FlatList - React Native
A performant interface for rendering basic, flat lists, supporting the most handy features:
Read more >React Native ,Flatlist ,how to change the background color ...
Coding example for the question React Native ,Flatlist ,how to change the background color when click one of the card?-React Native.
Read more >https://gisweb10.highpointnc.gov/js/libs/fullcalen...
Significant changes to HTML/CSS skeleton: - Leverages tables for liquid ... will be applied to the entire event source: - color (changes both...
Read more >How To Use React Native Flatlist [Guide] - Flatlogic Blog
FlatList doesn't require a lot of code. It needs only two props to start and you don't have to make a fancy style...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
reservationsBackgroundColor is not typed, use this.
need to fix, Theme interface doesn’t export this key
Looking at https://github.com/wix/react-native-calendars/blob/master/src/agenda/style.ts#L56 adding the below worked for me (the