EnrollmentStatusButton component displays the enrollment status of a user
The props for the EnrollmentStatusButton component.
Indicates if the button is in a loading state.
The enrollment status of the user.
The function to call when the button is clicked.
Indicates if the registration process is loading.
EnrollmentStatusButton component displays the enrollment status of a user