@npm-questionpro/wick-ui-lib 1.50.0 → 1.51.0

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.
@@ -19,6 +19,7 @@ export interface IWuDataTableProps<T> extends React.TableHTMLAttributes<HTMLTabl
19
19
  HeaderAction?: React.ReactNode;
20
20
  NoDataContent?: React.ReactNode;
21
21
  stickyHeader?: boolean;
22
+ maxHeight?: number | string;
22
23
  isRowExpandable?: boolean;
23
24
  hideHeader?: boolean;
24
25
  virtualization?: {
@@ -28,4 +29,4 @@ export interface IWuDataTableProps<T> extends React.TableHTMLAttributes<HTMLTabl
28
29
  };
29
30
  tableLayout?: 'fixed' | 'auto';
30
31
  }
31
- export declare const WuDataTable: <T>({ data, columns, isLoading, variant, sort, size, rowSelection, HeaderAction, NoDataContent, stickyHeader, CustomLoader, caption, virtualization, isRowExpandable, hideHeader, tableLayout, style, className, ...props }: IWuDataTableProps<T>) => React.JSX.Element;
32
+ export declare const WuDataTable: <T>({ data, columns, isLoading, variant, sort, size, rowSelection, HeaderAction, NoDataContent, stickyHeader, maxHeight, CustomLoader, caption, virtualization, isRowExpandable, hideHeader, tableLayout, style, className, ...props }: IWuDataTableProps<T>) => React.JSX.Element;
@@ -19,6 +19,7 @@ export interface IWuTableProps<T> extends React.TableHTMLAttributes<HTMLTableEle
19
19
  pageSize: number;
20
20
  };
21
21
  stickyHeader?: boolean;
22
+ maxHeight?: number | string;
22
23
  HeaderAction?: React.ReactNode;
23
24
  CustomLoader?: React.ReactNode;
24
25
  NoDataContent?: React.ReactNode;
@@ -32,4 +33,4 @@ export interface IWuTableProps<T> extends React.TableHTMLAttributes<HTMLTableEle
32
33
  };
33
34
  tableLayout?: 'fixed' | 'auto';
34
35
  }
35
- export declare const WuTable: <T>({ data, columns, variant, size, sort, filterText, pagination, stickyHeader, HeaderAction, CustomLoader, NoDataContent, isLoading, caption, rowSelection, isRowExpandable, hideHeader, virtualization, tableLayout, style, className, ...rest }: IWuTableProps<T>) => React.JSX.Element;
36
+ export declare const WuTable: <T>({ data, columns, variant, size, sort, filterText, pagination, stickyHeader, maxHeight, HeaderAction, CustomLoader, NoDataContent, isLoading, caption, rowSelection, isRowExpandable, hideHeader, virtualization, tableLayout, style, className, ...rest }: IWuTableProps<T>) => React.JSX.Element;