Spaces:
Paused
Paused
Download web/src/components/ui/table/TableRow.vue from stremio-db/a: direct link, hf CLI and curl.
- Browser
- Download file 367 Bytes
-
https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/ui/table/TableRow.vue
- Command line
-
hf download hf://spaces/stremio-db/a/web/src/components/ui/table/TableRow.vue
-
curl -L -o TableRow.vue https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/ui/table/TableRow.vue
367 Bytes
| <script setup lang="ts"> | |
| import type { HTMLAttributes } from "vue" | |
| import { cn } from "@/lib/utils" | |
| const props = defineProps<{ | |
| class?: HTMLAttributes["class"] | |
| }>() | |
| </script> | |
| <template> | |
| <tr | |
| data-slot="table-row" | |
| :class="cn('hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors', props.class)" | |
| > | |
| <slot /> | |
| </tr> | |
| </template> | |