Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/svelsky. editable svelte website with bluesky pds as backend flo-bit.dev/svelsky
Something went wrong. Try again.
1234567891011121314151617181920212223242526<script lang="ts"> import { type ElementType, type IndividualCollections } from '../data'; import SingleRecord from './SingleRecord.svelte'; import PlainText from './PlainText.svelte';
let { collection, rkey, key, placeholder, defaultContent }: { collection: IndividualCollections; rkey: ElementType<IndividualCollections>; key: string; placeholder?: string; defaultContent?: string; } = $props();</script>
<SingleRecord {collection} {rkey}> {#snippet child(data)} <PlainText {key} {placeholder} {defaultContent} {data} /> {/snippet}</SingleRecord>