<template>
  <base-link
    :type="type"
    :id="id"
    :text="text"
    :path="path"
  />
</template>

<script>
import BaseLink from '@/components/Business/BaseLink.vue'

export default {
  components: { BaseLink },
  props: {
    id: {
      type: String,
      default: null,
    },
    text: {
      type: String,
      default: null
    },
    type: {
      type: String,
      default: "link"
    }
  },
  computed: {
    path() {
      return `/money/transfer/${this.id}`
    },
  }
}
</script>
