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 / FollowCard.svelte
571 B 21 lines
1<script lang="ts"> 2 import Card, { type CardVariants } from "$lib/components/ui/Card.svelte"; 3 import FollowCardContent from "./FollowCardContent.svelte"; 4 import type { PersonData } from "./types"; 5 6 let { 7 person, 8 border = false, 9 shadow = false, 10 background = false 11 }: { 12 person: PersonData; 13 border?: CardVariants["border"]; 14 shadow?: CardVariants["shadow"]; 15 background?: CardVariants["background"]; 16 } = $props(); 17</script> 18 19<Card {border} {shadow} {background} padding={border || background ? "default" : "none"}> 20 <FollowCardContent {person} /> 21</Card>