Spaces:
Running
Running
Download src/lib/components/ui/empty/empty-header.svelte from hivetrace/GuardRateLeaderboard: direct link, hf CLI and curl.
- Browser
- Download file 452 Bytes
-
https://huggingface.co/spaces/hivetrace/GuardRateLeaderboard/resolve/main/src/lib/components/ui/empty/empty-header.svelte
- Command line
-
hf download hf://spaces/hivetrace/GuardRateLeaderboard/src/lib/components/ui/empty/empty-header.svelte
-
curl -L -o empty-header.svelte https://huggingface.co/spaces/hivetrace/GuardRateLeaderboard/resolve/main/src/lib/components/ui/empty/empty-header.svelte
452 Bytes
| <script lang="ts"> | |
| import { cn, type WithElementRef } from "$lib/utils.js"; | |
| import type { HTMLAttributes } from "svelte/elements"; | |
| let { | |
| ref = $bindable(null), | |
| class: className, | |
| children, | |
| ...restProps | |
| } | |
| </script> | |
| <div | |
| bind:this={ref} | |
| data-slot="empty-header" | |
| class={cn("gap-2 flex max-w-sm flex-col items-center", className)} | |
| {...restProps} | |
| > | |
| {@render children?.()} | |
| </div> | |