yandere_fe/src/components/user_card/user_card.js

24 lines
365 B
JavaScript
Raw Normal View History

2017-08-21 10:25:01 -07:00
import UserCardContent from '../user_card_content/user_card_content.vue'
const UserCard = {
props: [
'user',
'showFollows'
],
data () {
return {
userExpanded: false
}
},
components: {
UserCardContent
},
methods: {
toggleUserExpanded () {
this.userExpanded = !this.userExpanded
}
}
}
export default UserCard