<template>
  <button @click="emitClick">
    {{ text }}
  </button>
</template>

<script>
export default {
  props: {
    text: {
      type: String,
      default: ''
    }
  },
  methods: {
    emitClick () {
      this.$emit('eclick')
    }
  }
}
</script>
