wargerm 0.4.32 → 0.4.35

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.
@@ -0,0 +1,14 @@
1
+ import React, { ReactNode } from 'react';
2
+ declare type Props = {
3
+ title?: string | ReactNode;
4
+ children?: string | ReactNode;
5
+ closeIcon?: ReactNode;
6
+ onClose?: () => void;
7
+ visible: boolean;
8
+ isDrag?: boolean;
9
+ isResize?: boolean;
10
+ className?: string;
11
+ style?: React.CSSProperties;
12
+ };
13
+ export default function DragBox({ title, children, closeIcon, onClose, visible, isDrag, isResize, className, style, }: Props): JSX.Element;
14
+ export {};
@@ -72,7 +72,7 @@ declare type Props = {
72
72
  pageSize?: number;
73
73
  current?: number;
74
74
  }, sort?: any, filter?: any) => Promise<any>;
75
- onLoad?: (dataSource: Record<string, any>[]) => void;
75
+ onLoad?: (dataSource: Record<string, any>[], res: Record<string, any>) => void;
76
76
  onSubmit?: (params: Record<string, any>) => void;
77
77
  onReset?: () => void;
78
78
  rowKey: ((record: Record<string, any>) => number | string) | string;
@@ -94,4 +94,5 @@ declare namespace Table {
94
94
  rowKey: string;
95
95
  };
96
96
  }
97
- export default Table;
97
+ declare const _default: React.MemoExoticComponent<typeof Table>;
98
+ export default _default;