beca-ui 2.1.1-beta.24 → 2.1.1-beta.26
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/dist/beca-ui.js
CHANGED
|
@@ -100399,7 +100399,8 @@ const h8 = Cu({
|
|
|
100399
100399
|
...e7,
|
|
100400
100400
|
token: {
|
|
100401
100401
|
...e7.token,
|
|
100402
|
-
fontFamily: he.fontFamily ?? Q6
|
|
100402
|
+
fontFamily: he.fontFamily ?? Q6,
|
|
100403
|
+
...e.themeConfig
|
|
100403
100404
|
}
|
|
100404
100405
|
},
|
|
100405
100406
|
children: /* @__PURE__ */ P(
|
|
@@ -2,6 +2,7 @@ import React from "react";
|
|
|
2
2
|
import { SideBarMenuProps } from "./SideBarMenu";
|
|
3
3
|
import { HeaderProps, NotificationRef } from "./Header";
|
|
4
4
|
import { SideBarMenuModel } from "../../models";
|
|
5
|
+
import { ThemeConfig } from "antd";
|
|
5
6
|
export type MainTheme = "Beca" | "Office" | "SHE";
|
|
6
7
|
export interface MainLayoutProps extends Omit<SideBarMenuProps, "sideBarMenus">, HeaderProps {
|
|
7
8
|
children?: React.ReactNode;
|
|
@@ -23,6 +24,7 @@ export interface MainLayoutProps extends Omit<SideBarMenuProps, "sideBarMenus">,
|
|
|
23
24
|
layout?: {
|
|
24
25
|
header?: "top" | "side";
|
|
25
26
|
};
|
|
27
|
+
themeConfig?: ThemeConfig;
|
|
26
28
|
}
|
|
27
29
|
export interface UserConfig {
|
|
28
30
|
showEventTheme?: boolean;
|