@flatbiz/pro-layout 4.4.28 → 4.4.29

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.
package/index.d.ts CHANGED
@@ -83,7 +83,7 @@ export interface PageWrapperProps extends Omit<PageProps, "children"> {
83
83
  errorRender?: (error?: TAny) => ReactElement;
84
84
  }
85
85
  export type PageWrapperRefApi = {
86
- onRefresh: (showLoading?: boolean) => void;
86
+ onRefresh: () => void;
87
87
  };
88
88
  /**
89
89
  * 为Page内置接口处理流程组件,如果无全局初始化接口请求场景,请使用Page组件
@@ -99,6 +99,7 @@ export type PageWrapperRefApi = {
99
99
  export declare const PageWrapper: import("react").ForwardRefExoticComponent<PageWrapperProps & import("react").RefAttributes<PageWrapperRefApi>>;
100
100
  export declare const usePageWrapper: () => {
101
101
  onReload: () => void;
102
+ onRefresh: () => void;
102
103
  };
103
104
  export interface FallbackProps {
104
105
  error: Error;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/pro-layout",
3
- "version": "4.4.28",
3
+ "version": "4.4.29",
4
4
  "description": "WEB菜单布局",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",