mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
23 lines
435 B
Vue
23 lines
435 B
Vue
<script setup lang="ts">
|
|
import type { HTMLAttributes } from "vue";
|
|
import { Input } from "@/components/ui/input";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
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>
|