This repository has no description
1<script lang="ts">
2 import Card, { type CardVariants } from "$lib/components/ui/Card.svelte";
3 import RepoCardContent from "./RepoCardContent.svelte";
4 import type { RepoCardData } from "$lib/components/profile/types";
5
6 let {
7 repo,
8 starButton = true,
9 showOwner = true,
10 border = true,
11 shadow = false,
12 background = true,
13 padding = "default"
14 }: {
15 repo: RepoCardData;
16 starButton?: boolean;
17 showOwner?: boolean;
18 border?: CardVariants["border"];
19 shadow?: CardVariants["shadow"];
20 background?: CardVariants["background"];
21 padding?: CardVariants["padding"];
22 } = $props();
23</script>
24
25<Card {border} {shadow} {background} {padding}>
26 <RepoCardContent {repo} {starButton} {showOwner} />
27</Card>