Spaces:
Running
Running
Download src/lib/components/ui/table/table-header.svelte from hivetrace/GuardRateLeaderboard: direct link, hf CLI and curl.
- Browser
- Download file 439 Bytes
-
https://huggingface.co/spaces/hivetrace/GuardRateLeaderboard/resolve/main/src/lib/components/ui/table/table-header.svelte
- Command line
-
hf download hf://spaces/hivetrace/GuardRateLeaderboard/src/lib/components/ui/table/table-header.svelte
-
curl -L -o table-header.svelte https://huggingface.co/spaces/hivetrace/GuardRateLeaderboard/resolve/main/src/lib/components/ui/table/table-header.svelte
439 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> | |
| <thead | |
| bind:this={ref} | |
| data-slot="table-header" | |
| class={cn("[&_tr]:border-b", className)} | |
| {...restProps} | |
| > | |
| {@render children?.()} | |
| </thead> | |