@flatbiz/pro-layout 4.3.1 → 4.3.2
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/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/index.d.ts +3 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -283,6 +283,8 @@ export type BootstrapOptions = {
|
|
|
283
283
|
iframeTabClickRefresh?: boolean;
|
|
284
284
|
/** 隐藏侧边栏菜单 */
|
|
285
285
|
hideSidebarMenu?: boolean;
|
|
286
|
+
/** 收缩后侧边栏宽度,默认:80 */
|
|
287
|
+
collapsedWidth?: number;
|
|
286
288
|
};
|
|
287
289
|
export type LayoutCtxProps = {
|
|
288
290
|
menus: TMenuItem[];
|
|
@@ -377,7 +379,7 @@ export interface PageWrapperProps extends Omit<PageProps, "children"> {
|
|
|
377
379
|
/** 接口数据配置 */
|
|
378
380
|
serviceConfig: PageWrapperServiceConfig;
|
|
379
381
|
/** children 为函数,参数【respData】为接口返回数据 */
|
|
380
|
-
children?: (respData?: TAny) => ReactElement;
|
|
382
|
+
children?: ReactElement | ((respData?: TAny) => ReactElement);
|
|
381
383
|
/**
|
|
382
384
|
* 是否异步,默认:false
|
|
383
385
|
* ```
|