@flatbiz/pro-layout 4.3.19 → 4.3.21

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
@@ -317,6 +317,15 @@ export type BootstrapOptions = {
317
317
  containerWrapper?: ComponentType<{
318
318
  children: ReactElement;
319
319
  }>;
320
+ /**
321
+ * 自定义用户名称,当前使用的是GLOBAL.user.userName字段
322
+ * @returns
323
+ */
324
+ onCustomUserName?: (global: TGlobalData) => string | ReactElement;
325
+ /**
326
+ * 显示header菜单icon
327
+ */
328
+ showHeaderMenuIcon?: boolean;
320
329
  };
321
330
  export type LayoutCtxProps = {
322
331
  menus: TMenuItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/pro-layout",
3
- "version": "4.3.19",
3
+ "version": "4.3.21",
4
4
  "description": "WEB菜单布局",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",