19 lines
350 B
Svelte
19 lines
350 B
Svelte
<script lang="ts">
|
|
import { Input } from '$lib/components/ui/input';
|
|
import { languageStore } from '$lib/stores/language.svelte';
|
|
|
|
let {
|
|
value = $bindable(''),
|
|
placeholder = languageStore.t.dashboard.searchPlaceholder
|
|
}: {
|
|
value: string;
|
|
placeholder?: string;
|
|
} = $props();
|
|
</script>
|
|
|
|
<Input
|
|
type="search"
|
|
{placeholder}
|
|
bind:value
|
|
/>
|