2024-11-30 00:58:04 +01:00
|
|
|
<script setup lang="ts">
|
2025-03-28 01:16:24 +01:00
|
|
|
import { Input } from "@/components/ui/input";
|
2024-11-30 00:58:04 +01:00
|
|
|
import { cn } from "@/lib/utils";
|
|
|
|
|
import type { HTMLAttributes } from "vue";
|
|
|
|
|
|
|
|
|
|
const props = defineProps<{
|
|
|
|
|
class?: HTMLAttributes["class"];
|
|
|
|
|
}>();
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<Input
|
2025-04-10 13:55:56 +02:00
|
|
|
data-slot="sidebar-input"
|
2024-11-30 00:58:04 +01:00
|
|
|
data-sidebar="input"
|
|
|
|
|
:class="cn(
|
2025-04-10 13:55:56 +02:00
|
|
|
'bg-background h-8 w-full shadow-none',
|
2024-11-30 00:58:04 +01:00
|
|
|
props.class,
|
|
|
|
|
)"
|
|
|
|
|
>
|
|
|
|
|
<slot />
|
|
|
|
|
</Input>
|
|
|
|
|
</template>
|