TdAI / llama.cpp /tools /ui /src /lib /components /app /navigation /SidebarNavigation /SidebarNavigationSearch.svelte
tda45's picture
Upload folder using huggingface_hub (part 8)
15c3607 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 {
value = $bindable(''),
placeholder = 'Search conversations...',
onInput,
class: className
}: Props = $props();
</script>
<div class="mb-4 px-2 {className}">
<SearchInput bind:value {placeholder} {onInput} />
</div>