@defikitdotnet/education-module-ai
Version:
AI Education Module using Agent Framework
34 lines (33 loc) • 1 kB
TypeScript
/**
* Container components for the Education Module
* These components handle data fetching and state management
*/
import React from "react";
/**
* Props for the CourseListContainer component
*/
export interface CourseListContainerProps {
agentId?: string;
onCourseClick?: (courseId: string) => void;
limit?: number;
showEnrolled?: boolean;
showPublic?: boolean;
className?: string;
}
/**
* Container component that fetches and displays a list of courses
*/
export declare const CourseListContainer: React.FC<CourseListContainerProps>;
/**
* Props for the CourseContentContainer component
*/
export interface CourseContentContainerProps {
courseId: string;
onSectionClick?: (sectionId: string) => void;
onLectureClick?: (lectureId: string) => void;
className?: string;
}
/**
* Container component that fetches and displays course content (sections and lectures)
*/
export declare const CourseContentContainer: React.FC<CourseContentContainerProps>;