This repository has no description
0

Configure Feed

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

core / web / src / lib / components / profile / StringCard.svelte
522 B 21 lines
1<script lang="ts"> 2 import Card, { type CardVariants } from "$lib/components/ui/Card.svelte"; 3 import StringCardContent from "./StringCardContent.svelte"; 4 import type { StringCardData } from "./types"; 5 6 let { 7 entry, 8 border = true, 9 shadow = false, 10 background = true 11 }: { 12 entry: StringCardData; 13 border?: CardVariants["border"]; 14 shadow?: CardVariants["shadow"]; 15 background?: CardVariants["background"]; 16 } = $props(); 17</script> 18 19<Card {border} {shadow} {background}> 20 <StringCardContent {entry} /> 21</Card>