<template>
    <li class="nav-item">
        <a class="nav-link WM-Flex" :class="[aClass, (Status == 'Active' ? 'active' : '')]" data-toggle="tab" :href="TabHref">
            <v-chip color="orange darken-2" text-color="white" v-if="Quantity>0"> {{ Quantity }} </v-chip>
            <div>
                <div class="WM-Font-18"> {{ TitleFa }} </div> {{ TitleEn }}
            </div>
        </a>

    </li>
</template>

<script>
export default {
    props: {
        TitleFa:   { default: "دسترسی سریع" },
        TitleEn:   { default: "Title" },
        color:     { default: "Black" },
        TabContent:   { default: '' },
        Status:   { default: '' },
        Quantity:   { default: 0 },
    },
    data: function ()  {
        return {
            aClass: 'WM-' + this.color,
            TabHref: '#' + this.TabContent,
        }
    },
};

</script>
