@eclass/ui-kit 1.6.0 → 1.7.0

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.
@@ -3,9 +3,8 @@ import * as Type from './types';
3
3
  export declare const CourseBoxContext: React.Context<Partial<import("@eclass/api").AcademicBox>>;
4
4
  interface CourseBoxProps {
5
5
  data: Type.AcademicList;
6
- onClick?: () => void;
7
6
  }
8
- export declare function CourseBox({ data, onClick }: CourseBoxProps): JSX.Element;
7
+ export declare function CourseBox({ data }: CourseBoxProps): JSX.Element;
9
8
  export declare namespace CourseBox {
10
9
  var displayName: string;
11
10
  }
@@ -10,7 +10,7 @@ export declare const wCourse = 17.8125;
10
10
  * Tener en cuenta el width del padre donde se pondra este componente, utilizar método maxWidthCoursesList
11
11
  * @see src/organisms/CourseList/maxWidthCoursesList.ts
12
12
  */
13
- export declare function CourseList({ courses, m, onClick, }: Type.WrapperCoursesProps): JSX.Element | null;
13
+ export declare function CourseList({ courses, m, }: Type.WrapperCoursesProps): JSX.Element | null;
14
14
  export declare namespace CourseList {
15
15
  var displayName: string;
16
16
  }
@@ -1,9 +1,5 @@
1
1
  /// <reference types="react" />
2
- interface FooterProps {
3
- onClick?: () => void;
4
- }
5
- export declare function Footer({ onClick }: FooterProps): JSX.Element | null;
2
+ export declare function Footer(): JSX.Element | null;
6
3
  export declare namespace Footer {
7
4
  var displayName: string;
8
5
  }
9
- export {};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface PaymentModalProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ showOverlay: boolean;
6
+ }
7
+ export declare function PaymentModal({ isOpen, onClose, showOverlay, }: PaymentModalProps): JSX.Element | null;
8
+ export {};
@@ -0,0 +1 @@
1
+ export { PaymentModal } from './PaymentModal';
@@ -5,5 +5,4 @@ export type AcademicList = AcademicBox
5
5
  export interface WrapperCoursesProps {
6
6
  courses: AcademicList[]
7
7
  m?: string
8
- onClick?: () => void
9
8
  }