Spaces:
Paused
Paused
Download web/src/components/ui/dialog/DialogHeader.vue from stremio-db/a: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/ui/dialog/DialogHeader.vue
- Command line
-
hf download hf://spaces/stremio-db/a/web/src/components/ui/dialog/DialogHeader.vue
-
curl -L -o DialogHeader.vue https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/ui/dialog/DialogHeader.vue
342 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="dialog-header" | |
| :class="cn('flex flex-col gap-2 text-center sm:text-left', props.class)" | |
| > | |
| <slot /> | |
| </div> | |
| </template> | |