Skip to main content

LessonObject

Interfaces

LessonObjectProps

Indexable

[p: string]: any

Any other properties

Properties

PropertyTypeDescription
className?stringOverrides or extends the styles applied to the component. Default null
courseSCCourseTypeThe course obj
editModebooleanThe edit mode Default false
EditorProps?Omit<EditorProps, "onFocus">Editor props Default {}
lessonSCCourseLessonTypeThe lesson obj
onContentChange?(content) => voidCallback fired when the lesson content on edit mode changes
onMediaChange?(medias) => voidCallback fired when the lesson media on edit mode changes

Functions

LessonObject()

LessonObject(inProps): Element

Parameters

ParameterType
inPropsLessonObjectProps

Returns

Element