mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-06 00:47:09 +00:00
add rough left side of frontend
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<script lang="ts">
|
||||
import { GripHorizontal } from 'lucide-svelte';
|
||||
import { dragHandle } from 'svelte-dnd-action';
|
||||
|
||||
let { bg, className = "" } = $props<{
|
||||
bg: string;
|
||||
className?: string;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<div
|
||||
use:dragHandle
|
||||
class="{className} bg-transparent hover:{bg} active:{bg} p-2 rounded-xl duration-200 transition-colors"
|
||||
>
|
||||
<GripHorizontal />
|
||||
</div>
|
||||
Reference in New Issue
Block a user