mirror of
https://github.com/wireadmin/wireadmin
synced 2025-06-26 18:28:06 +00:00
17 lines
415 B
Svelte
17 lines
415 B
Svelte
<script lang="ts">
|
|
import type { HTMLLiAttributes } from 'svelte/elements';
|
|
import { cn } from '$lib/utils.js';
|
|
|
|
type $$Props = HTMLLiAttributes & {
|
|
el?: HTMLLIElement;
|
|
};
|
|
|
|
export let el: $$Props['el'] = undefined;
|
|
let className: $$Props['class'] = undefined;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<li bind:this={el} class={cn('inline-flex items-center gap-1.5', className)}>
|
|
<slot />
|
|
</li>
|