<template>
  <button @click="pressButton()">{{ letter }}</button>
</template>

<script setup lang="ts">
function pressButton() {
  console.log("button " + props.letter + " pressed");
}

let props = defineProps<{
  letter: string;
}>();
</script>

<style scoped></style>
