Skip to content

Conversation

@AllanKlaus
Copy link

Hey guys, I used your lib on my personal project and I needed to add an event click to add more events. I would like to share the idea with you. If you like you can merge it.

On my app I have one more function to avoid clicks on weekends or others week days that was passed to the Component. If this is merged i can make another pull request to add it too.

  • Motivation
    Would be good if we have and event to retrieve date and time without
    events just in case we need or want to create an event using that empty
    space.

  • Solution
    Add a function hourTapped that will receive our date and time
    selected, with this date and time selected we can add a new event.
    In DayView was changed the current View to a TouchableOpacity with
    a View inside to mark space.

- Motivation
Would be good if we have and event to retrieve date and time without
events just in case we need or want to create an event using that empty
space.

- Solution
Add a function `hourTapped` that will receive our date and time
selected, with this date and time selected we can add a new event.
In `DayView` was changed the current `View` to a `TouchableOpacity` with
a `View` inside to mark space.
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.

1 participant