<template>
    <router-link
        v-bind="linkerProps"
    >
        <slot />
    </router-link>
</template>

<script>
import linkerMixin from '../mixins/linkerMixin';

export default {
    name: 'Linker',
    mixins: [linkerMixin],
    data() {
        return {};
    },
    props: {
        to: {
            type: [String, Object],
            required: true,
        },
    },
};
</script>

<style lang="scss">
</style>
