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
282 B
Svelte
Raw Normal View History

2023-10-24 11:37:27 +02:00
<script lang="ts">
export let id: string;
export let value: string;
const handleClick = () => {
value = "";
}
</script>
<button {id} class="letterInput" on:click={handleClick}>+</button>
<style>
.letterInput {
padding-left: 1ch;
}
</style>