UNPKG

@selfcommunity/react-ui

Version:

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

14 lines (13 loc) 596 B
/// <reference types="react" /> import { SCCourseLessonType, SCCourseSectionType, SCCourseType } from '@selfcommunity/types'; import { ActionLessonType } from '../types'; interface ChangeLessonStatusProps { course: SCCourseType; section: SCCourseSectionType; lesson: SCCourseLessonType; onChange: (lesson: SCCourseLessonType, type: ActionLessonType) => void; disabled?: boolean; } declare function ChangeLessonStatus(props: ChangeLessonStatusProps): JSX.Element; declare const _default: import("react").MemoExoticComponent<typeof ChangeLessonStatus>; export default _default;