Spaces:
Paused
Paused
Download web/src/components/ui/table/TableHead.vue from stremio-db/a: direct link, hf CLI and curl.
- Browser
- Download file 439 Bytes
-
https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/ui/table/TableHead.vue
- Command line
-
hf download hf://spaces/stremio-db/a/web/src/components/ui/table/TableHead.vue
-
curl -L -o TableHead.vue https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/ui/table/TableHead.vue
439 Bytes
| <script setup lang="ts"> | |
| import type { HTMLAttributes } from "vue" | |
| import { cn } from "@/lib/utils" | |
| const props = defineProps<{ | |
| class?: HTMLAttributes["class"] | |
| }>() | |
| </script> | |
| <template> | |
| <th | |
| data-slot="table-head" | |
| :class="cn('text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]', props.class)" | |
| > | |
| <slot /> | |
| </th> | |
| </template> | |