Add retweet button component
Expand API service for retweet
This commit is contained in:
parent
ee009f63dd
commit
242ae8e91b
5 changed files with 46 additions and 3 deletions
16
src/components/retweet_button/retweet_button.js
Normal file
16
src/components/retweet_button/retweet_button.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
const RetweetButton = {
|
||||
props: [ 'status' ],
|
||||
methods: {
|
||||
retweet () {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
classes () {
|
||||
return {
|
||||
'retweeted': this.status.repeated
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default RetweetButton
|
Loading…
Add table
Add a link
Reference in a new issue