all repos — emessage @ ea493bafc2d2157978bab4ad3fda9ab450a6a361

The EMessage email client

frontend/src/lib/components/GenericInput.svelte (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
<script lang="ts">
	let { fallback, value = $bindable(), ...props } = $props();

	if (!value) {
		value = fallback;
	}
</script>

<input class="w-full border-b-1 border-input" bind:value={value} {...props} />