mirror of
https://github.com/pheralb/svgl.git
synced 2025-03-12 08:00:35 +08:00
🛠️ Search input improvements.
This commit is contained in:
parent
c63ebcd8c7
commit
7e3b2e0636
@ -1,10 +1,11 @@
|
||||
<script lang="ts">
|
||||
export let searchTerm: string;
|
||||
export let placeholder: string = "Search...";
|
||||
</script>
|
||||
|
||||
<input
|
||||
type="text"
|
||||
placeholder="Search..."
|
||||
placeholder={placeholder}
|
||||
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"
|
||||
bind:value={searchTerm}
|
||||
|
Loading…
x
Reference in New Issue
Block a user