<template>
  <q-btn flat dense :icon="icon" :to="{ name: link }" />
</template>

<script lang="ts">
import { defineComponent } from '@vue/composition-api';
export default defineComponent({
  name: 'ShortCutLink',
  props: {
    link: {
      required: true,
      type: String
    },
    icon: {
      required: true,
      type: String
    }
  }
});
</script>
