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

Add event click to hour #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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