Spaces:
Paused
Paused
Download web/src/components/ui/table/Table.vue from stremio-db/a: direct link, hf CLI and curl.
- Browser
- Download file 401 Bytes
-
https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/ui/table/Table.vue
- Command line
-
hf download hf://spaces/stremio-db/a/web/src/components/ui/table/Table.vue
-
curl -L -o Table.vue https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/ui/table/Table.vue
401 Bytes
| <script setup lang="ts"> | |
| import type { HTMLAttributes } from "vue" | |
| import { cn } from "@/lib/utils" | |
| const props = defineProps<{ | |
| class?: HTMLAttributes["class"] | |
| }>() | |
| </script> | |
| <template> | |
| <div data-slot="table-container" class="relative w-full overflow-auto"> | |
| <table data-slot="table" :class="cn('w-full caption-bottom text-sm', props.class)"> | |
| <slot /> | |
| </table> | |
| </div> | |
| </template> | |