@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
16 lines (15 loc) • 746 B
TypeScript
/// <reference types="react" />
import { DraggableProvided } from '@hello-pangea/dnd';
import { SCCourseLessonType, SCCourseSectionType, SCCourseType } from '@selfcommunity/types';
import { ActionLessonType, DeleteRowRef } from '../types';
interface LessonRowProps {
provider: DraggableProvided;
course: SCCourseType;
section: SCCourseSectionType;
lesson: SCCourseLessonType;
isNewRow: boolean;
handleManageLesson: (lesson: SCCourseLessonType, type: ActionLessonType, newRow?: boolean) => void;
handleOpenDialog: () => void;
}
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<LessonRowProps & import("react").RefAttributes<DeleteRowRef>>>;
export default _default;