UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

25 lines (24 loc) 614 B
import { SCCourseLessonType } from '@selfcommunity/types'; export interface LessonEditFormProps { /** * The lesson obj */ lesson: SCCourseLessonType; /** * Callback fired when settings change */ onSettingsChange?: (settings: any) => void; /** * Indicates whether an update is currently in progress. */ updating: boolean; /** * Callback fired when clicking save button */ onSave: () => void; /** * Any other properties */ [p: string]: any; } export default function LessonEditForm(inProps: LessonEditFormProps): JSX.Element;