LessonObject
Interfaces
LessonObjectProps
Indexable
[p
: string
]: any
Any other properties
Properties
Property | Type | Description |
---|---|---|
className? | string | Overrides or extends the styles applied to the component. Default null |
course | SCCourseType | The course obj |
editMode | boolean | The edit mode Default false |
EditorProps? | Omit <EditorProps , "onFocus" > | Editor props Default {} |
lesson | SCCourseLessonType | The lesson obj |
onContentChange? | (content ) => void | Callback fired when the lesson content on edit mode changes |
onMediaChange? | (medias ) => void | Callback fired when the lesson media on edit mode changes |
Functions
LessonObject()
LessonObject(
inProps
):Element
Parameters
Parameter | Type |
---|---|
inProps | LessonObjectProps |
Returns
Element