1<script lang="ts">
2 import type { ComponentProps } from 'svelte';
3 import { Input } from '$lib/components/ui/input/index.js';
4 import { cn } from '$lib/components/ui/utils.js';
5
6 let {
7 ref = $bindable(null),
8 value = $bindable(''),
9 class: className,
10 ...restProps
11 }: ComponentProps<typeof Input> = $props();
12</script>
13
14<Input
15 bind:ref
16 bind:value
17 data-slot="sidebar-input"
18 data-sidebar="input"
19 class={cn('h-8 w-full bg-background shadow-none', className)}
20 {...restProps}
21/>