-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: markets page mobile group charts with orderbookes and trades
- Loading branch information
1 parent
f08a6fd
commit a03d984
Showing
10 changed files
with
217 additions
and
102 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<template> | ||
<span | ||
class="text-xs leading-4 tracking-widest cursor-pointer uppercase" | ||
:class="[ | ||
option === value | ||
? 'text-gray-200 hover:text-gray-100 font-bold' | ||
: 'text-gray-500 hover:text-gray-200' | ||
]" | ||
@click="$emit('selected', option)" | ||
> | ||
<slot /> | ||
</span> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import Vue from 'vue' | ||
export default Vue.extend({ | ||
model: { | ||
prop: 'value', | ||
event: 'selected' | ||
}, | ||
props: { | ||
value: { | ||
type: String, | ||
required: true | ||
}, | ||
option: { | ||
type: String, | ||
required: true | ||
} | ||
} | ||
}) | ||
</script> |
This file contains 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
Oops, something went wrong.