app

Local-first trade for farms and co-ops
git clone https://radroots.dev/git/app.git
Log | Files | Refs | README | LICENSE

EmptyState.svelte (315B)


      1 <script lang="ts">
      2   import type { Snippet } from 'svelte';
      3   let {
      4     title,
      5     description,
      6     children
      7   }: { title: string; description: string; children?: Snippet } = $props();
      8 </script>
      9 
     10 <section class="stack">
     11   <h2>{title}</h2>
     12   <p>{description}</p>
     13   {#if children}{@render children()}{/if}
     14 </section>