hplx-react-elements-dev 1.2.65 → 1.2.67

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,5 +1,14 @@
1
1
  /// <reference types="react" />
2
2
  import { IPaginationProps } from "./components/Pagination";
3
+ export interface ResuableTableNoDataProps {
4
+ title: string;
5
+ description: string;
6
+ onPageReload: () => void;
7
+ titleClassName?: string;
8
+ descriptionClassName?: string;
9
+ containerClassName?: string;
10
+ buttonClassName?: string;
11
+ }
3
12
  export interface ReusableTableProps<T> {
4
13
  tableRef: React.RefObject<HTMLDivElement>;
5
14
  columns: ITableColDef<T>[];
@@ -19,6 +28,7 @@ export interface ReusableTableProps<T> {
19
28
  hideHeader?: boolean;
20
29
  displayHeaderClassesToOverride?: string;
21
30
  displayPaginationClassesToOverride?: string;
31
+ displayNoDataFoundProps: ResuableTableNoDataProps;
22
32
  }
23
33
  export interface ITableColDef<T> {
24
34
  field: string;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ interface EmptyTableProps {
3
+ title: string;
4
+ description: string;
5
+ onPageRefresh: () => void;
6
+ buttonClassName: string;
7
+ titleClassName: string;
8
+ descriptionClassName: string;
9
+ containerClassName: string;
10
+ }
11
+ declare function EmptyTableContainer(props: EmptyTableProps): JSX.Element;
12
+ export default EmptyTableContainer;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "frontend",
10
10
  "healthplix"
11
11
  ],
12
- "version": "1.2.65",
12
+ "version": "1.2.67",
13
13
  "main": "dist/esm/index.js",
14
14
  "module": "dist/esm/index.js",
15
15
  "types": "dist/esm/index.d.ts",