<template>
  <span class="button" :style="{ width, height }">{{ text }}</span>
</template>

<script setup lang="ts">
const props = defineProps({
  text: String,
  width: String,
  height: String,
});
</script>

<style lang="scss" scoped>
.button {
  width: 100px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  border-radius: 40px;
  &:active {
    background-color: #cccccc;
    filter: brightness(50%);
  }
}
</style>
