opencs2-dataset-viewer / src /lib /components /ui /dialog /dialog-description.svelte
blanchon's picture
Add evaluation mode: queue, flag bar, info dialog
e355be5
<script lang="ts">
import { Dialog as DialogPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
let {
ref = $bindable(null),
class: className,
...restProps
}: DialogPrimitive.DescriptionProps = $props();
</script>
<DialogPrimitive.Description
bind:ref
data-slot="dialog-description"
class={cn(
'text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed *:[a]:underline *:[a]:underline-offset-3',
className
)}
{...restProps}
/>