mobigrid-module 1.0.4 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
package/index.tsx CHANGED
@@ -2,11 +2,11 @@ import React from "react";
2
2
  import { useEffect, useState } from "react";
3
3
  import { format } from "date-fns";
4
4
  import axios from "axios";
5
- import { Alert, AlertTitle, AlertDescription } from "./components/ui/alert";
5
+ import { Alert, AlertTitle, AlertDescription } from "./components/ui/alert.tsx";
6
6
  import { AlertCircle } from "lucide-react";
7
- import { PageHeader } from "./components/Layout/PageHeader";
8
- import { CustomTable } from "./components/CustomTable/CustomTable";
9
- import Pagination from "./components/CustomTable/Pagination";
7
+ import { PageHeader } from "./components/Layout/PageHeader.tsx";
8
+ import { CustomTable } from "./components/CustomTable/CustomTable.tsx";
9
+ import Pagination from "./components/CustomTable/Pagination.tsx";
10
10
 
11
11
  const ITEMS_PER_PAGE = 14;
12
12
 
@@ -22,7 +22,7 @@ const MobigridModule = ({
22
22
  preJsUrl,
23
23
  itemsPerPage = ITEMS_PER_PAGE,
24
24
  children,
25
- }: ContainerProps) {
25
+ }: ContainerProps) => {
26
26
  const [config, setConfig] = useState<any>(null);
27
27
  const [invalidConfig, setInvalidConfig] = useState(false);
28
28
  const [errors, setErrors] = useState<
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobigrid-module",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "",
5
5
  "main": "index.tsx",
6
6
  "type": "module",