-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agenda backgroundColor #2087
Comments
This is similar to #2000 I ended up just using the calendar list component and created my own custom agenda component. Allows for a lot more freedom. |
<Agenda
showClosingKnob
renderItem={RenderItem}
items={{
'2022-11-28': [
{
name: 'Renan',
day: new Date().toISOString().split('T')[0],
height: 50,
},
],
}}
theme={{
reservationsBackgroundColor: '#fff',
}}
/> reservationsBackgroundColor is not typed, use this. need to fix, Theme interface doesn't export this key |
Thank you! you saved my day! |
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. |
Can confirm this is still an issue. |
This is still not fixed. For Typescript, can use theme={{
reservationsBackgroundColor: '#fff',
} as any} |
Description
The background color of the ScrollView in the Agenda component cannot be changed.
Expected Behavior
Before this version I was able to change the background color and I need to.
Observed Behavior
The white background color shoud be the same as the calendar background
Environment
npm ls react-native-calendars
: react-native-calendars@1.1291.1npm ls react-native
: react-native@0.70.4Tested and debugged on Emulator Pixel 5 (Platform 33, Android 12) and on a Android phone (Nokia XR20)
Reproducible Demo
I tested all the color and background color in theme and style Agenda property.
Screenshots
The text was updated successfully, but these errors were encountered: