Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/ui-kit. 🦊 fox ui, svelte 5 and tailwind 4 flo-bit.dev/ui-kit
Something went wrong. Try again.
123456789101112131415<script lang="ts"> import type { PostData } from '../post'; import Comment from './Comment.svelte';
let { comments }: { comments: PostData[] } = $props();</script>
{#if comments.length > 0} <div class="pl-3 pt-4"> {#each comments as comment} <Comment {comment} depth={0} /> {/each} </div>{/if}