base_ui/components/global/MoreButtonComponent.vue
2025-02-01 13:04:55 +03:30

37 lines
700 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="d-flex justify-content-center">
<RouterLink
class="btn btn-primary"
title="بیشتر"
:to="{
name:'notifications'
}"
>
<span v-if="list.length"
>بیشتر
<svg style="font-size: 0.6rem" class="icon icon-chevron-double-left">
<use xlink:href="#icon-chevron-double-left"></use>
</svg>
</span>
<span v-else>خوانده شده ها</span>
</RouterLink>
</div>
</template>
<script>
/**
* @vue-prop {Array} [list=[]] - لیست آیتم‌ها
*/
export default {
props: {
list: {
default: [],
},
},
emits: ["go-to-notification-show-page"],
};
</script>