ucsb-cs156-s21 / proj-ucsb-cs-las

https://proj-ucsb-cs-las.herokuapp.com/
MIT License
2 stars 3 forks source link

Make a component to allow the user to select an office hours slot #295

Closed pconrad closed 3 years ago

pconrad commented 3 years ago

In this front end only issue, we create a component called OfficeHoursSelector.

This component accepts an array of OfficeHours in the json format provided by the back end, and it displays that list as a dropdown menu.

It provides a onChange function that will be passed the index of whatever office hours entry was selected.

This can be used on the TutorNotes creation form to select a specific office hours slot