Files
Caramel-CRM/resources/js/components/ui/sidebar/SidebarInput.vue
T

22 lines
451 B
Vue
Raw Normal View History

2025-10-20 08:57:51 +02:00
<script setup lang="ts">
2026-02-17 10:35:03 +01:00
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
2025-10-20 08:57:51 +02:00
import { Input } from '@/components/ui/input'
const props = defineProps<{
2026-02-17 10:35:03 +01:00
class?: HTMLAttributes["class"]
2025-10-20 08:57:51 +02:00
}>()
</script>
<template>
<Input
data-sidebar="input"
:class="cn(
2026-02-17 10:35:03 +01:00
'h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring',
2025-10-20 08:57:51 +02:00
props.class,
)"
>
<slot />
</Input>
</template>