<template>
    <button type="button" @click="back"><slot /></button>
</template>

<script>
export default {
  methods: {
    back() {
      window.history.back();
    },
  }
}
</script>
