summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/lib/pills/FooterPill.svelte
blob: 3da1811bdbc628cc5d6a549893cb570a942bdb16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<script lang="ts">
	import type { Snippet } from 'svelte';

	interface Props {
		text: string;
		icon?: Snippet;
	}

	let { text, icon }: Props = $props();
</script>

<div class="flex items-center rounded-sm p-0.5 text-zinc-300">
	{@render icon?.()}
	<span>{text}</span>
</div>