Spaces:
Paused
Paused
Download web/src/components/ui/select/SelectLabel.vue from stremio-db/a: direct link, hf CLI and curl.
- Browser
- Download file 457 Bytes
-
https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/ui/select/SelectLabel.vue
- Command line
-
hf download hf://spaces/stremio-db/a/web/src/components/ui/select/SelectLabel.vue
-
curl -L -o SelectLabel.vue https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/ui/select/SelectLabel.vue
457 Bytes
| <script setup lang="ts"> | |
| import type { SelectLabelProps } from "reka-ui" | |
| import type { HTMLAttributes } from "vue" | |
| import { SelectLabel } from "reka-ui" | |
| import { cn } from "@/lib/utils" | |
| const props = defineProps<SelectLabelProps & { class?: HTMLAttributes["class"] }>() | |
| </script> | |
| <template> | |
| <SelectLabel | |
| data-slot="select-label" | |
| :class="cn('text-muted-foreground px-2 py-1.5 text-xs', props.class)" | |
| > | |
| <slot /> | |
| </SelectLabel> | |
| </template> | |