-
-
- )
- }
- innerHeader={
- // displays the search button and/or the space dropdown in the ToC according to the header/variant settings. E.g if there is no header, the search button will be displayed in the ToC.
- <>
- {!withTopHeader && (
-
-
-
-
- {t(
- getSpaceLanguage(customization),
- customization.aiSearch.enabled
- ? 'search_or_ask'
- : 'search'
- )}
-
-
-
+
+
- )}
- {!withTopHeader && withSections && sections && (
-
- )}
- {isMultiVariants && (
-
- )}
- >
- }
- />
-
{children}
-
+ )
+ }
+ innerHeader={
+ // displays the search button and/or the space dropdown in the ToC according to the header/variant settings. E.g if there is no header, the search button will be displayed in the ToC.
+ <>
+ {!withTopHeader && (
+
+
+
+
+ {t(
+ getSpaceLanguage(customization),
+ customization.aiSearch.enabled
+ ? 'search_or_ask'
+ : 'search'
+ )}
+
+
+
+
+ )}
+ {!withTopHeader && withSections && sections && (
+
+ )}
+ {isMultiVariants && (
+
+ )}
+ >
+ }
+ />
+
{children}
+
- {withFooter ?