Sync shared snapshot from 94af6d7
This commit is contained in:
1 parent
fe34285170
commit
a1c29728f0
1 file changed
+3
@@ -21,6 +21,7 @@
|
|||||||
onNavigate,
|
onNavigate,
|
||||||
onProfile,
|
onProfile,
|
||||||
onSettings,
|
onSettings,
|
||||||
|
pageHeaderActions,
|
||||||
showPageHeader = true,
|
showPageHeader = true,
|
||||||
showSettings = true,
|
showSettings = true,
|
||||||
theme = 'dark',
|
theme = 'dark',
|
||||||
@@ -41,6 +42,7 @@
|
|||||||
onNavigate?: (item: NavItem) => void;
|
onNavigate?: (item: NavItem) => void;
|
||||||
onProfile?: () => void;
|
onProfile?: () => void;
|
||||||
onSettings?: () => void;
|
onSettings?: () => void;
|
||||||
|
pageHeaderActions?: Snippet;
|
||||||
showPageHeader?: boolean;
|
showPageHeader?: boolean;
|
||||||
showSettings?: boolean;
|
showSettings?: boolean;
|
||||||
theme?: 'dark' | 'light' | 'system';
|
theme?: 'dark' | 'light' | 'system';
|
||||||
@@ -81,6 +83,7 @@
|
|||||||
title={activeNavItem?.label ?? brand}
|
title={activeNavItem?.label ?? brand}
|
||||||
description={activeNavItem?.description ??
|
description={activeNavItem?.description ??
|
||||||
`Explore the ${activeNavItem?.label?.toLowerCase() ?? 'application'} section.`}
|
`Explore the ${activeNavItem?.label?.toLowerCase() ?? 'application'} section.`}
|
||||||
|
actions={pageHeaderActions}
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
{@render children?.()}
|
{@render children?.()}
|
||||||
|
|||||||
Reference in new issue
Block a user