brunokiafuka / react-native-chrono

MIT License
0 stars 0 forks source link

[Feature]: Add action on appointment press #7

Open brunokiafuka opened 7 months ago

brunokiafuka commented 7 months ago

If the user presses the agenda tile, they should, it should fire an action.

  <Appointment
            key={idx}
            type=""
            startDate={appointment.startDate}
            endDate={appointment.endDate}
+         onPress={(e) => console.log(e)}
       />

When the onPress callback should return the appointment details, and it's current Y position.