Hiyve Components - v1.0.0
    Preparing search index...

    Props for CoursePlayer. Pass enrollmentId for a client, or previewCourseId for the provider's preview.

    interface CoursePlayerProps {
        enrollmentId?: string;
        initialLessonId?: string;
        onBack?: () => void;
        previewCourseId?: string;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    enrollmentId?: string

    The client's enrollment to play.

    initialLessonId?: string

    Lesson to open first. Defaults to where the client left off.

    onBack?: () => void

    The user leaves the player. Shows a back button when given.

    previewCourseId?: string

    A course of the current provider's to preview as a client would see it. Nothing is saved.

    sx?: SxProps<Theme>