<template>
  <div class="button" @click="$emit('click')">
    <slot></slot>
  </div>
</template>

<script>
export default {
  props: {
    label: {
      type: String,
      default: "Button",
    },
  },
};
</script>

<style scoped>
.button {
  display: flex;
  align-items: center;
  text-align: center;
  padding: 4px 8px;
  font-size: 1em
}

.button:hover {
  background: var(--accent);
}
</style>