Created
August 4, 2020 22:32
-
-
Save skflowne/46fb33d0cb2c36c87e6c0b33f8a5d274 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script lang="ts"> | |
import fileSearch from "../../store/fileSearch" | |
let input: HTMLElement | |
$: if (input) { | |
input.focus() | |
} | |
</script> | |
<div class="text-md text-gray-800 w-4/5 mx-auto my-2"> | |
My Repository | |
<span class="text-bold text-xl">/</span> | |
<input bind:this={input} type="text" name="search" bind:value={$fileSearch} autocomplete="off" /> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment