initial checkin with timed order ui

This commit is contained in:
Tim Olson
2023-08-27 21:01:17 -04:00
commit 986a876f86
39 changed files with 2592 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<template>
<v-btn :text="modelValue ? 'Buy' : 'Sell'" :color="modelValue ? 'green' : 'red'"
variant="outlined" size="x-large" @click="toggle"/>
</template>
<script setup>
import {useStore} from "@/store/store";
const s = useStore()
const props = defineProps(['modelValue'])
const emit = defineEmits(['update:modelValue'])
function toggle() {
emit('update:modelValue', !props.modelValue)
}
</script>
<style scoped lang="scss">
@use "src/styles/vars" as *;
</style>