svelte/test/hydration/samples/binding-input/main.svelte

6 lines
84 B

<script>
export let name;
</script>
<input bind:value={name}>
<p>Hello {name}!</p>