UNPKG

@hirebus/academy

Version:

React component library for academy and learning platforms

15 lines (13 loc) 557 B
import { Course, CourseStatus } from '../../types/course'; import { default as React } from 'react'; export interface CourseManagementProps { courses: Course[]; onCreateCourse: () => void; onViewCourse: (courseId: string) => void; onEditCourse: (courseId: string) => void; onDeleteCourse: (courseId: string) => void; onToggleCourseStatus: (courseId: string, status: CourseStatus) => void; isLoading?: boolean; loadingEditingCourseId?: string | null; } export declare const CourseManagement: React.FC<CourseManagementProps>;