mobigrid-module 1.0.0 → 1.0.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobigrid-module",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "index.tsx",
6
6
  "type": "module",
package/src/index.tsx CHANGED
@@ -17,7 +17,7 @@ interface ContainerProps {
17
17
  children?: React.ReactNode;
18
18
  }
19
19
 
20
- export default function ({
20
+ const MobigridModule = ({
21
21
  configUrl,
22
22
  preJsUrl,
23
23
  itemsPerPage = ITEMS_PER_PAGE,
@@ -250,3 +250,5 @@ export default function ({
250
250
  </div>
251
251
  );
252
252
  }
253
+
254
+ export default MobigridModule;
package/tsconfig.json CHANGED
@@ -15,10 +15,12 @@
15
15
  "*": [
16
16
  "node_modules/*"
17
17
  ]
18
- }
18
+ },
19
+ "typeRoots": ["./node_modules/@types", "./typings"]
19
20
  },
20
21
  "include": [
21
- "src/**/*"
22
+ "src/**/*",
23
+ "typings"
22
24
  ],
23
25
  "exclude": [
24
26
  "node_modules",