elseware-ui 2.18.0 → 2.18.1

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,4 +1,5 @@
1
1
  import React from "react";
2
+ import { Shape } from "../../../data/enums";
2
3
  export type TableColumnConfig<T> = {
3
4
  key: keyof T;
4
5
  header: string;
@@ -11,6 +12,7 @@ type TableContentProps<T> = {
11
12
  data: T[];
12
13
  defaultPageSize?: number;
13
14
  pageSizeOptions?: (number | "All")[];
15
+ shape?: keyof typeof Shape;
14
16
  };
15
- export declare function TableContent<T extends Record<string, any>>({ title, columns, data, defaultPageSize, pageSizeOptions, }: TableContentProps<T>): import("react/jsx-runtime").JSX.Element;
17
+ export declare function TableContent<T extends Record<string, any>>({ title, columns, data, defaultPageSize, pageSizeOptions, shape, }: TableContentProps<T>): import("react/jsx-runtime").JSX.Element;
16
18
  export {};
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { Shape } from "../../../data/enums";
2
3
  export interface ModalProps {
3
4
  title: string;
4
5
  show: boolean;
@@ -10,6 +11,7 @@ export interface ModalProps {
10
11
  isError?: boolean;
11
12
  error?: unknown;
12
13
  styles?: string;
14
+ shape?: keyof typeof Shape;
13
15
  }
14
- declare function Modal({ title, show, handleOnClose, children, isLoading, isSuccess, isError, error, styles, enableCloseOnClickOutside, }: ModalProps): import("react/jsx-runtime").JSX.Element;
16
+ declare function Modal({ title, show, handleOnClose, children, isLoading, isSuccess, isError, error, styles, enableCloseOnClickOutside, shape, }: ModalProps): import("react/jsx-runtime").JSX.Element;
15
17
  export default Modal;