[READ-ONLY] Mirror of https://github.com/flo-bit/room. tiny 3d rooms saved locally or in your bluesky account, svelte/threlte flo-bit.dev/room/
0

Configure Feed

Select the types of activity you want to include in your feed.

room / src / lib / components / base / text / Text.svelte
463 B 20 lines
1<script lang="ts"> 2 import type { WithElementRef } from 'bits-ui'; 3 import type { HTMLAttributes } from 'svelte/elements'; 4 import { cn } from '$lib/utils'; 5 6 let { 7 ref = $bindable(null), 8 class: className, 9 children, 10 ...restProps 11 }: WithElementRef<HTMLAttributes<HTMLParagraphElement>> = $props(); 12</script> 13 14<p 15 bind:this={ref} 16 class={cn('text-base-700 dark:text-base-200 text-sm font-medium', className)} 17 {...restProps} 18> 19 {@render children?.()} 20</p>