The props for the StudentListSection component
The title of the section
The list of students to display
The variant of the section (enrolled or waitlisted)
The function to call when removing a student
The function to call when accepting a student
The function to call when rejecting a student
Whether the user is an instructor or not (default: true)
StudentListSection component displays a collapsible section of students with their details and actions based on the enrollment status.