beca-ui 2.1.1-beta.17 → 2.1.1-beta.19
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.
|
@@ -24,6 +24,7 @@ export interface AppTheme {
|
|
|
24
24
|
export interface ExtraHeaderProps {
|
|
25
25
|
appTheme?: string;
|
|
26
26
|
onChangeTheme?: (theme: AppTheme) => Promise<void>;
|
|
27
|
+
isTopHeader?: boolean;
|
|
27
28
|
}
|
|
28
29
|
export interface HeaderProps extends ApplicationsCardProps {
|
|
29
30
|
logoUrl: string;
|
|
@@ -48,6 +49,7 @@ export interface HeaderProps extends ApplicationsCardProps {
|
|
|
48
49
|
config?: MainLayoutConfig;
|
|
49
50
|
isShowCollapseButton?: boolean;
|
|
50
51
|
headerTitle?: string;
|
|
52
|
+
isTopHeader?: boolean;
|
|
51
53
|
}
|
|
52
54
|
export type ThemeModel = {
|
|
53
55
|
getApi?: string;
|
|
@@ -20,6 +20,9 @@ export interface MainLayoutProps extends Omit<SideBarMenuProps, "sideBarMenus">,
|
|
|
20
20
|
adminTheme?: string | undefined;
|
|
21
21
|
onChangeTheme?: (theme: string) => Promise<void>;
|
|
22
22
|
};
|
|
23
|
+
layout?: {
|
|
24
|
+
header?: "top" | "side";
|
|
25
|
+
};
|
|
23
26
|
}
|
|
24
27
|
export interface UserConfig {
|
|
25
28
|
showEventTheme?: boolean;
|