chore: move structure to root

This commit is contained in:
Bart van der Braak 2024-02-16 08:48:59 +01:00
parent 3b27d3841b
commit eed9c4161f
213 changed files with 1 additions and 38 deletions

View file

@ -0,0 +1,15 @@
<script lang="ts">
import { priorities } from '../(data)/data';
export let value: string;
const priority = priorities.find((priority) => priority.value === value);
const Icon = priority?.icon;
</script>
{#if priority}
<div class="flex items-center">
{#if Icon}
<Icon class="mr-2 h-4 w-4 text-muted-foreground" />
{/if}
<span>{priority.label}</span>
</div>
{/if}