your personal website on atproto - mirror blento.app
at map 13 lines 446 B view raw
1<script lang="ts"> 2 import type { Item } from '$lib/types'; 3 import type { ContentComponentProps } from '../types'; 4 import PlainTextEditor from '../utils/PlainTextEditor.svelte'; 5 6 let { item = $bindable<Item>() }: ContentComponentProps = $props(); 7</script> 8 9<div 10 class="line-clamp-1 inline-flex h-full w-full items-end rounded-md p-1 px-2 text-2xl font-semibold" 11> 12 <PlainTextEditor bind:item key="text" class="line-clamp-1 w-full" /> 13</div>