-
-
- {theme.getColorSchemeSelector ? (
-
-
-
-
- ) : (
-
- {isSsr || paletteMode !== 'dark' ? : }
-
- )}
-
-
-
- ) : null;
-}
-
interface DashboardSidebarSubNavigationProps {
subNavigation: Navigation;
basePath?: string;
@@ -313,11 +252,37 @@ function DashboardSidebarSubNavigation({
);
}
+export interface DashboardLayoutSlots {
+ /**
+ * The toolbar actions component used in the layout header.
+ * @default ToolbarActions
+ */
+ toolbarActions?: React.JSXElementConstructor<{}>;
+ /**
+ * The toolbar account component used in the layout header.
+ * @default Account
+ */
+ toolbarAccount?: React.JSXElementConstructor