diff options
| author | Jiayi Zheng <thebluber@gmail.com> | 2016-11-13 16:42:56 +0100 |
|---|---|---|
| committer | Jiayi Zheng <thebluber@gmail.com> | 2016-11-13 16:42:56 +0100 |
| commit | 242ae8e91b1586aee185873b2f2d10bb52495ef3 (patch) | |
| tree | 80da97ba9cf26c48e28860ba15ad12d250c027f0 /src/components/retweet_button/retweet_button.js | |
| parent | ee009f63dd2f4856f8daf29d66301f67ab8f2021 (diff) | |
Add retweet button component
Expand API service for retweet
Diffstat (limited to 'src/components/retweet_button/retweet_button.js')
| -rw-r--r-- | src/components/retweet_button/retweet_button.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/retweet_button/retweet_button.js b/src/components/retweet_button/retweet_button.js new file mode 100644 index 00000000..42da2531 --- /dev/null +++ b/src/components/retweet_button/retweet_button.js @@ -0,0 +1,16 @@ +const RetweetButton = { + props: [ 'status' ], + methods: { + retweet () { + } + }, + computed: { + classes () { + return { + 'retweeted': this.status.repeated + } + } + } +} + +export default RetweetButton |
