Spaces:
Paused
Paused
Download web/src/components/ui/sidebar/SidebarInput.vue from stremio-db/a: direct link, hf CLI and curl.
- Browser
- Download file 428 Bytes
-
https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/ui/sidebar/SidebarInput.vue
- Command line
-
hf download hf://spaces/stremio-db/a/web/src/components/ui/sidebar/SidebarInput.vue
-
curl -L -o SidebarInput.vue https://huggingface.co/spaces/stremio-db/a/resolve/main/web/src/components/ui/sidebar/SidebarInput.vue
428 Bytes
| <script setup lang="ts"> | |
| import type { HTMLAttributes } from "vue" | |
| import { cn } from "@/lib/utils" | |
| import { Input } from '@/components/ui/input' | |
| const props = defineProps<{ | |
| class?: HTMLAttributes["class"] | |
| }>() | |
| </script> | |
| <template> | |
| <Input | |
| data-slot="sidebar-input" | |
| data-sidebar="input" | |
| :class="cn( | |
| 'bg-background h-8 w-full shadow-none', | |
| props.class, | |
| )" | |
| > | |
| <slot /> | |
| </Input> | |
| </template> | |