This repository has been archived on 2024-08-06. You can view files and clone it, but cannot push or open issues or pull requests.
comicinfo-editor-v2/src/lib/ListTextInput/NewListTextInput.svelte

16 lines
No EOL
297 B
Svelte

<script lang="ts">
export let id: string;
export let value: string;
const handleClick = () => {
value = "";
}
</script>
<button {id} class="letterInput" on:click|preventDefault={handleClick}>+</button>
<style>
.letterInput {
padding-left: 1ch;
}
</style>