widget-fav.vue 348 Bytes
<template>
  <WidgetIconBtn type="fav" :share="share" :text="num" :article-id="articleId" :comment-id="commentId" :option="option"></WidgetIconBtn>
</template>

<script>
export default {
  name: 'WidgetFav',
  props: {
    num: [String, Number],
    articleId: Number,
    commentId: Number,
    option: Object,
    share: Boolean
  }
};
</script>