mario-core 2.9.366-release → 2.9.367-release

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.
@@ -29,3 +29,6 @@ export interface ISchool {
29
29
  schoolLogo: string;
30
30
  schoolId: number;
31
31
  }
32
+ export interface IDashboard {
33
+ version?: string;
34
+ }
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
- declare const Dashboard: () => JSX.Element;
2
+ import { IDashboard } from "../constant/types";
3
+ declare const Dashboard: ({ version }: IDashboard) => JSX.Element;
3
4
  export default Dashboard;
package/dist/index.js CHANGED
@@ -39742,7 +39742,9 @@ var DASHBOARD_TITLE = "Dashboard";
39742
39742
  var ROOT_TITLE = "Mario Education";
39743
39743
  var BG_IMAGES = ["images/landing-page.jpg", "images/landing-page2.jpg", "images/landing-page3.jpg"];
39744
39744
 
39745
- var Dashboard = function Dashboard() {
39745
+ var Dashboard = function Dashboard(_ref) {
39746
+ var version = _ref.version;
39747
+
39746
39748
  var _useState = React.useState(false),
39747
39749
  isOpen = _useState[0],
39748
39750
  setIsOpen = _useState[1];
@@ -39813,7 +39815,7 @@ var Dashboard = function Dashboard() {
39813
39815
  }, React__default.createElement("img", {
39814
39816
  src: getStaticFileUrl("/images/STUDENT.png"),
39815
39817
  alt: "icon"
39816
- })))));
39818
+ })))), React__default.createElement("span", null, version));
39817
39819
  };
39818
39820
 
39819
39821
  var Images = {