<script lang="ts">
  import { Badge, type BadgeVariant } from '$lib/components/ui/badge'

  let { value, variant = 'outline' as BadgeVariant }: { value: unknown; variant?: BadgeVariant } =
    $props()
</script>

<Badge {variant}>{String(value ?? '—')}</Badge>
