mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-16 01:38:36 +01:00
new selfhosted version
This commit is contained in:
22
dashboard/components/ui/sidebar/SidebarInput.vue
Normal file
22
dashboard/components/ui/sidebar/SidebarInput.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<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-white h-8 w-full shadow-none dark:bg-gray-950',
|
||||
props.class,
|
||||
)"
|
||||
>
|
||||
<slot />
|
||||
</Input>
|
||||
</template>
|
||||
Reference in New Issue
Block a user