@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/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/index.d.ts +9 -0
- package/package.json +1 -1
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[];
|