@flatbiz/pro-layout 3.2.2 → 3.2.4
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/cjs/index.css +57 -57
- package/cjs/index.js +3 -3
- package/cjs/index.js.map +1 -1
- package/index.d.ts +3 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ export type TAdminUser = null | {
|
|
|
70
70
|
};
|
|
71
71
|
export interface TRouteItemProps {
|
|
72
72
|
path: string;
|
|
73
|
-
element: ReactElement | null;
|
|
73
|
+
element: ReactElement | ComponentType | null;
|
|
74
74
|
redirect?: string | false;
|
|
75
75
|
caseSensitive?: boolean;
|
|
76
76
|
}
|
|
@@ -85,6 +85,8 @@ export type BootstrapOptions = {
|
|
|
85
85
|
* ```
|
|
86
86
|
*/
|
|
87
87
|
layoutMode: "iframe-main" | "iframe-tab" | "normal" | "no-layout";
|
|
88
|
+
/** 隐藏侧边栏菜单 */
|
|
89
|
+
hideSidebarMenu?: boolean;
|
|
88
90
|
/**
|
|
89
91
|
* layoutMode = 'iframe-main' 有效
|
|
90
92
|
*/
|