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

Make month event min height customizable and fix for custom events #534

Merged
merged 4 commits into from
Nov 4, 2021

Conversation

CptMaumau
Copy link
Contributor

I realized my code for spanning events in month mode wasn't working with custom event render so I fixed that and also made the min height for the event customizable for more flexibility.

Copy link
Owner

@acro5piano acro5piano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your pull request!

Can you add a bit explanation for this new prop? It must be helpful for new one trying this lib.

https://github.com/acro5piano/react-native-big-calendar#api-documentation

@@ -73,6 +73,7 @@ export interface CalendarContainerProps<T> {
onPressEvent?: (event: ICalendarEvent<T>) => void
weekEndsOn?: WeekNum
maxVisibleEventCount?: number
eventMinHeight?: number
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rename it to eventMinHeightForMonthView as it affects only for the month view?

@acro5piano acro5piano merged commit 1e11c47 into acro5piano:master Nov 4, 2021
@acro5piano
Copy link
Owner

Thanks for your contribution!

Released on https://github.com/acro5piano/react-native-big-calendar/releases/tag/v2.2.0

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.

None yet

2 participants