Skip to contentOpen History to see the last commit
Increment.svelte
7 lines208 Bytes
2 import { updateState } from './store' 4 const { animal }: { animal: 'cats' | 'dogs' } = $props() 7<button onclick={() => updateState(animal)}>My Friend Likes {animal}</button>