Component for adding teachers to a course.

  • Parameters

    • props: {
          instructorEmail: any;
          instructors: any;
          modify?: boolean;
          setInstructors: any;
      }

      Component props

      • instructorEmail: any

        Email of the instructor

      • instructors: any

        List of instructors

      • Optionalmodify?: boolean

        Flag indicating whether the component is in modify mode

      • setInstructors: any

        Setter for instructors

    Returns Element