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

This commit is contained in:
Gabriel20xx committed 2026-08-04 16:53:36 +02:00
1 parent c95865dbe2
commit 2f57554154
6 files changed
+41 -3

No files matched your search

@@ -5,20 +5,24 @@
actions,
children,
description = '',
subtitle = '',
title
}: {
actions?: Snippet;
children?: Snippet;
description?: string;
subtitle?: string;
title: string;
} = $props();
const supportingText = $derived(description || subtitle);
</script>
<div class="sc-page-header">
<div>
<h1>{title}</h1>
{#if description}
<p>{description}</p>
{#if supportingText}
<p>{supportingText}</p>
{/if}
{@render children?.()}
</div>