mirror of
https://github.com/wireadmin/wireadmin
synced 2025-06-26 18:28:06 +00:00
24 lines
510 B
Svelte
24 lines
510 B
Svelte
<script lang="ts">
|
|
import type { HTMLOlAttributes } from 'svelte/elements';
|
|
import { cn } from '$lib/utils.js';
|
|
|
|
type $$Props = HTMLOlAttributes & {
|
|
el?: HTMLOListElement;
|
|
};
|
|
|
|
export let el: $$Props['el'] = undefined;
|
|
let className: $$Props['class'] = undefined;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<ol
|
|
bind:this={el}
|
|
class={cn(
|
|
'flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5',
|
|
className
|
|
)}
|
|
{...$$restProps}
|
|
>
|
|
<slot />
|
|
</ol>
|