Skip to content
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

Interface headerProps intermediate variable #1127

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

winie
Copy link

@winie winie commented Dec 19, 2024

The type information would be added for the headerProps intermediate variable in the CalendarContainer component. But not for the month mode, because in this mode the header is implemented with the CalendarHeaderForMonthView component. A new interface HeaderRendererProps was created for this purpose, which summarises the CalendarHeaderProps and the type of the mode property.

I'm not entirely sure that the changes to the types are 100% correct or even necessary. Please check before merging.

Copy link

vercel bot commented Dec 19, 2024

Someone is attempting to deploy a commit to the Kazuya Gosho's projects Team on Vercel.

A member of the Team first needs to authorize it.

@winie winie changed the title Interface header props intermediate variable Interface headerProps intermediate variable Dec 19, 2024
Copy link

vercel bot commented Dec 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-big-calendar ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 7:19am

@acro5piano
Copy link
Owner

Sorry for my slow response and thank you for your PR!
Is your intention either code refactoring or exposing HeaderRendererProps for reusability?

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

Successfully merging this pull request may close these issues.

3 participants