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 / repo / issues / IssueCard.svelte
666 B 27 lines
1<script lang="ts"> 2 import Card, { type CardVariants } from "$lib/components/ui/Card.svelte"; 3 import IssueCardContent from "./IssueCardContent.svelte"; 4 import type { IssueSummary } from "$lib/components/repo/types"; 5 6 interface Props { 7 ownerHandle: string; 8 repoName: string; 9 issue: IssueSummary; 10 border?: CardVariants["border"]; 11 shadow?: CardVariants["shadow"]; 12 background?: CardVariants["background"]; 13 } 14 15 let { 16 ownerHandle, 17 repoName, 18 issue, 19 border = true, 20 shadow = false, 21 background = true 22 }: Props = $props(); 23</script> 24 25<Card {border} {shadow} {background} padding="sm"> 26 <IssueCardContent {ownerHandle} {repoName} {issue} /> 27</Card>