aboutsummaryrefslogtreecommitdiff
path: root/src/components/retweet_button/retweet_button.vue
blob: ec94356acf809f460270d87460fa353c4ae76f0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<template>
  <div>
    <i :class='classes' class='icon-retweet fa' v-on:click.prevent='retweet()'></i>
    <span v-if='status.repeat_num > 0'>{{status.repeat_num}}</span>
  </div>
</template>

<script src="./retweet_button.js" ></script>

<style>
 .icon-retweet {
     cursor: pointer
 }
 .retweeted {
     cursor: auto;
     color: green;
 }
</style>