mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-19 17:54:12 +02:00
working on the frontend
This commit is contained in:
18
web/src/lib/components/ui/sidebar/sidebar-separator.svelte
Normal file
18
web/src/lib/components/ui/sidebar/sidebar-separator.svelte
Normal file
@@ -0,0 +1,18 @@
|
||||
<script lang="ts">
|
||||
import {Separator} from "$lib/components/ui/separator/index.js";
|
||||
import {cn} from "$lib/utils.js";
|
||||
import type {ComponentProps} from "svelte";
|
||||
|
||||
let {
|
||||
ref = $bindable(null),
|
||||
class: className,
|
||||
...restProps
|
||||
}: ComponentProps<typeof Separator> = $props();
|
||||
</script>
|
||||
|
||||
<Separator
|
||||
{...restProps}
|
||||
bind:ref
|
||||
class={cn("bg-sidebar-border mx-2 w-auto", className)}
|
||||
data-sidebar="separator"
|
||||
/>
|
||||
Reference in New Issue
Block a user