aboutsummaryrefslogtreecommitdiff
path: root/src/components/retweet_button/retweet_button.vue
blob: 9b2f5c7b36fa38b13264aaeb9c080bc2e6af4429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<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 lang='scss'>
  @import '../../_variables.scss';
  .icon-retweet {
     cursor: pointer;
     &:hover {
      color: $green;
     }
  }
  .retweeted {
     cursor: auto;
     color: $green;
  }
</style>