feat: fix demo page to correspond refs

This commit is contained in:
2026-08-29 07:23:31 +05:00
parent 9ff732f2cf
commit d29ec73322
23 changed files with 1296 additions and 606 deletions
@@ -7,9 +7,10 @@
title: string;
meta?: string;
actions?: Snippet;
unwrapActions?: boolean;
}
let { label, title, meta, actions }: Props = $props();
let { label, title, meta, actions, unwrapActions = false }: Props = $props();
</script>
<div class="section-label">
@@ -18,9 +19,13 @@
<strong>{title}{#if meta}<em>{meta}</em>{/if}</strong>
</div>
{#if actions}
<div class="section-actions">
{#if unwrapActions}
{@render actions()}
</div>
{:else}
<div class="section-actions">
{@render actions()}
</div>
{/if}
{/if}
</div>