frontend/app/components/ui/sidebar/SidebarInput.vue
2025-12-09 22:32:22 +01:00

23 lines
474 B
Vue

<script setup lang="ts">
import type { HTMLAttributes } from "vue";
import { Input as InputVue } from "@/components/ui/input";
import { cn } from "@/lib/utils";
const props = defineProps<{
class?: HTMLAttributes["class"];
}>();
</script>
<template>
<InputVue
data-slot="sidebar-input"
data-sidebar="input"
:class="cn(
'bg-background h-8 w-full shadow-none',
props.class,
)"
>
<slot/>
</InputVue>
</template>