llama-cpp-compiled / tools /ui /src /lib /components /app /navigation /SidebarNavigation /SidebarNavigationSearch.svelte
Felipe97's picture
Upload folder using huggingface_hub (part 11)
82be208 verified
Raw History Blame Contribute Delete
425 Bytes
<script lang="ts">
import { SearchInput } from '$lib/components/app';
interface Props {
value?: string;
placeholder?: string;
onInput?: (value: string) => void;
class?: string;
}
let {
class: className,
onInput,
placeholder = 'Search conversations...',
value = $bindable('')
}: Props = $props();
</script>
<div class="mb-4 px-2 {className}">
<SearchInput bind:value {onInput} {placeholder} />
</div>