Created
December 5, 2020 03:09
-
-
Save spiritbroski/d105544c5de4f3f8dbdc3d548c3e860c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <v-row> | |
| <v-card max-width="344" outlined> | |
| <v-list-item three-line> | |
| <v-list-item-content> | |
| <v-list-item-title class="headline mb-1"> | |
| Github Username | |
| </v-list-item-title> | |
| <v-list-item-title class="text-h5">{{username}}</v-list-item-title> | |
| </v-list-item-content> | |
| <v-list-item-avatar size="80" color="grey"> | |
| <v-img :src="profilePhoto" /> | |
| </v-list-item-avatar> | |
| </v-list-item> | |
| </v-card> | |
| <v-card class="mx-5" max-width="344" outlined> | |
| <v-list-item three-line> | |
| <v-list-item-content> | |
| <v-list-item-title class="headline mb-1"> Balance </v-list-item-title> | |
| <v-list-item-title> | |
| <v-row justify="space-between"> | |
| <v-col class="font-weight-bold text-h5">$ 1000</v-col> | |
| <v-col><v-btn color="green">withdraw</v-btn></v-col> | |
| </v-row> | |
| </v-list-item-title> | |
| </v-list-item-content> | |
| </v-list-item> | |
| </v-card> | |
| </v-row> | |
| </template> | |
| <script lang="ts"> | |
| import { Component, Vue, Prop } from 'nuxt-property-decorator' | |
| @Component | |
| export default class MyStore extends Vue { | |
| @Prop({ required: true }) readonly username!: string | |
| @Prop({ required: true }) readonly profilePhoto!: string | |
| } | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment