Skip to content

Theme properties not working #2655

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

Open
raahimkhan opened this issue May 5, 2025 · 2 comments
Open

Theme properties not working #2655

raahimkhan opened this issue May 5, 2025 · 2 comments

Comments

@raahimkhan
Copy link

I am displaying a calendar view as shown in the code example below:

<Calendar
                    // overall calendar container style
                    style={styles.calendar}
                    // calendar header style (includes the arrows, month/year and days of week)
                    headerStyle={styles.calendarHeaderStyle}
                    // day starts from Monday
                    firstDay={1}
                    // swipe on header to change months
                    enableSwipeMonths={true}
                    // disable selection before min date and after max date
                    allowSelectionOutOfRange={false}
                    renderArrow={(direction: string) => renderCalendarArrow(direction)}
                    // hide extra days of other months within currently visible month on calendar
                    hideExtraDays={true}
                    theme={{
                        calendarBackground: 'black',
                        todayTextColor: 'white',
                    }}
                />

However, theme properties are not working. I tried the example as listed in the documentation as well. That was also not working.

Please look into this.

@ProbusGit
Copy link

Yes, i am also facing same issues

@raahimkhan
Copy link
Author

Yes, i am also facing same issues

I switched to react native calendar picker package. It has clear props for all these little things and stylings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants