~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/knotless

git that lives in your Atmosphere account

Forked from chadtmiller.com/knotless

0
0
10 lines · 483 B Raw History
<script lang="ts">
	import type * as repo from '#lib/lexicons/dev/knotless/repo.ts';
	import Label from '#lib/atoms/Label.svelte';
	/** The labels a pull or issue carries, in the order its repository defines them, each a link to `href` of its name if given. */
	let { labels, href }: { labels: repo.Label[]; href?: (name: string) => string } = $props();
</script>

<span class="labels"
	>{#each labels as label (label.name)}<Label {label} href={href?.(label.name)} />{/each}</span
>