@flatbiz/pro-layout 4.3.12 → 4.3.14
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 +4 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -291,6 +291,8 @@ export type BootstrapOptions = {
|
|
|
291
291
|
collapsedWidth?: number;
|
|
292
292
|
/** 菜单为空渲染,默认:请联系运营人员确定菜单数据配置 */
|
|
293
293
|
MenuEmptyRender?: ReactElement;
|
|
294
|
+
/** disableTopbarMenu != true模式下,未配置到菜单,隐藏侧边栏,默认值:true */
|
|
295
|
+
unMatchHiddenSiderBar?: boolean;
|
|
294
296
|
};
|
|
295
297
|
export type LayoutCtxProps = {
|
|
296
298
|
menus: TMenuItem[];
|
|
@@ -364,6 +366,7 @@ export interface PageProps {
|
|
|
364
366
|
fullIndex?: number;
|
|
365
367
|
bread?: JSX.Element;
|
|
366
368
|
children?: ReactElement | ReactElement[];
|
|
369
|
+
elementId?: string;
|
|
367
370
|
}
|
|
368
371
|
/**
|
|
369
372
|
* 页面包装组件
|
|
@@ -453,6 +456,7 @@ export declare const LayoutPage: (props: {
|
|
|
453
456
|
style?: CSSProperties;
|
|
454
457
|
children?: ReactElement;
|
|
455
458
|
hideHeader?: boolean;
|
|
459
|
+
elementId?: string;
|
|
456
460
|
}) => JSX.Element;
|
|
457
461
|
|
|
458
462
|
export {};
|