@selfcommunity/react-templates 0.4.5-courses.120 → 0.4.5-courses.122

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
1
  import Course, { CourseProps } from './Course';
2
+ import { TeacherSkeleton, StudentSkeleton } from '@selfcommunity/react-ui';
2
3
  export default Course;
3
- export { CourseProps };
4
+ export { CourseProps, TeacherSkeleton, StudentSkeleton };
@@ -1,5 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StudentSkeleton = exports.TeacherSkeleton = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  const Course_1 = tslib_1.__importDefault(require("./Course"));
6
+ const react_ui_1 = require("@selfcommunity/react-ui");
7
+ Object.defineProperty(exports, "TeacherSkeleton", { enumerable: true, get: function () { return react_ui_1.TeacherSkeleton; } });
8
+ Object.defineProperty(exports, "StudentSkeleton", { enumerable: true, get: function () { return react_ui_1.StudentSkeleton; } });
5
9
  exports.default = Course_1.default;
@@ -13,7 +13,7 @@ export interface LessonProps {
13
13
  /**
14
14
  * The course id
15
15
  */
16
- courseId: string | number;
16
+ courseId?: string | number;
17
17
  /**
18
18
  * The section id
19
19
  */
@@ -1,3 +1,4 @@
1
1
  import Course, { CourseProps } from './Course';
2
+ import { TeacherSkeleton, StudentSkeleton } from '@selfcommunity/react-ui';
2
3
  export default Course;
3
- export { CourseProps };
4
+ export { CourseProps, TeacherSkeleton, StudentSkeleton };
@@ -1,2 +1,4 @@
1
1
  import Course from './Course';
2
+ import { TeacherSkeleton, StudentSkeleton } from '@selfcommunity/react-ui';
2
3
  export default Course;
4
+ export { TeacherSkeleton, StudentSkeleton };
@@ -13,7 +13,7 @@ export interface LessonProps {
13
13
  /**
14
14
  * The course id
15
15
  */
16
- courseId: string | number;
16
+ courseId?: string | number;
17
17
  /**
18
18
  * The section id
19
19
  */