GuardRateLeaderboard / src /lib /components /ui /sheet /sheet-overlay.svelte
Anton Malykhin
feat: add HiveTrace leaderboard frontend
336b102
Raw
History Blame Contribute Delete
411 Bytes
<script lang="ts">
import { Dialog as SheetPrimitive } from "bits-ui";
import { cn } from "$lib/utils.js";
let {
ref = $bindable(null),
class: className,
...restProps
}: SheetPrimitive.OverlayProps = $props();
</script>
<SheetPrimitive.Overlay
bind:ref
data-slot="sheet-overlay"
class={cn("bg-black/30 supports-backdrop-filter:backdrop-blur-sm fixed inset-0 z-50", className)}
{...restProps}
/>