mirror of
https://github.com/pheralb/svgl.git
synced 2025-03-12 16:10:34 +08:00
🛠️ Search input improvements.
This commit is contained in:
parent
c63ebcd8c7
commit
7e3b2e0636
@ -1,10 +1,11 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
export let searchTerm: string;
|
export let searchTerm: string;
|
||||||
|
export let placeholder: string = "Search...";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="Search..."
|
placeholder={placeholder}
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
class="w-full rounded-md border border-neutral-800 bg-neutral-700/10 p-3 placeholder-neutral-500 focus:outline-none focus:ring-2 focus:ring-neutral-700"
|
class="w-full rounded-md border border-neutral-800 bg-neutral-700/10 p-3 placeholder-neutral-500 focus:outline-none focus:ring-2 focus:ring-neutral-700"
|
||||||
bind:value={searchTerm}
|
bind:value={searchTerm}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user