diff options
| author | eal <eal@waifu.club> | 2017-08-21 20:25:01 +0300 |
|---|---|---|
| committer | eal <eal@waifu.club> | 2017-08-23 19:14:06 +0300 |
| commit | ccfc2e57d0e265bddc88d5ace30428268f3b1df1 (patch) | |
| tree | de7b16eeff754236851db033afbd21ff7de698a4 /src/components/user_card/user_card.js | |
| parent | dbad99cb4fac4750a881773c9add317a8a4d9664 (diff) | |
Add follower and following views
Diffstat (limited to 'src/components/user_card/user_card.js')
| -rw-r--r-- | src/components/user_card/user_card.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/components/user_card/user_card.js b/src/components/user_card/user_card.js new file mode 100644 index 00000000..a7a871c3 --- /dev/null +++ b/src/components/user_card/user_card.js @@ -0,0 +1,23 @@ +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 |
