Extend shared UI component customization
Lint / Lint (Node/Svelte) (push) Successful in 23s
Lint / Lint (Go) (push) Successful in 16s
Lint / Lint (Python) (push) Successful in 9s
Tests / Test (Node/Svelte) (push) Successful in 14s
Tests / Test (Go) (push) Successful in 17s
Tests / Test (Python) (push) Successful in 9s
Lint / Lint (Node/Svelte) (push) Successful in 23s
Lint / Lint (Go) (push) Successful in 16s
Lint / Lint (Python) (push) Successful in 9s
Tests / Test (Node/Svelte) (push) Successful in 14s
Tests / Test (Go) (push) Successful in 17s
Tests / Test (Python) (push) Successful in 9s
This commit is contained in:
1 parent
c95865dbe2
commit
2f57554154
6 files changed
+41
-3
No files matched your search
@@ -9,8 +9,10 @@
|
||||
children,
|
||||
class: className = '',
|
||||
currentPath = '',
|
||||
headerActions,
|
||||
navItems = [],
|
||||
onLogout,
|
||||
onNavigate,
|
||||
onProfile,
|
||||
onSettings,
|
||||
showSettings = true,
|
||||
@@ -22,8 +24,10 @@
|
||||
children?: Snippet;
|
||||
class?: string;
|
||||
currentPath?: string;
|
||||
headerActions?: Snippet;
|
||||
navItems?: NavItem[];
|
||||
onLogout?: () => void | Promise<void>;
|
||||
onNavigate?: (item: NavItem) => void;
|
||||
onProfile?: () => void;
|
||||
onSettings?: () => void;
|
||||
showSettings?: boolean;
|
||||
@@ -37,8 +41,10 @@
|
||||
{brand}
|
||||
{brandHref}
|
||||
{currentPath}
|
||||
actions={headerActions}
|
||||
{navItems}
|
||||
{onLogout}
|
||||
{onNavigate}
|
||||
{onProfile}
|
||||
{onSettings}
|
||||
{showSettings}
|
||||
|
||||
Reference in new issue
Block a user