diff options
Diffstat (limited to 'src/components/Trials.vue')
-rw-r--r-- | src/components/Trials.vue | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/components/Trials.vue b/src/components/Trials.vue new file mode 100644 index 0000000..5b9c6fa --- /dev/null +++ b/src/components/Trials.vue @@ -0,0 +1,22 @@ +<template> + <table> + <tr v-for="trial in trials" :key="trial"> + <Trial :length="length" :trial="trial" :finished=true /> + </tr> + <tr> + <Trial :length="length" :trial="currentTrial" :finished=false /> + </tr> + </table> +</template> + +<script setup lang="ts"> +import Trial from "@/components/Trial.vue"; + +defineProps<{ + length: number; + currentTrial: string; +}>(); +let trials = []; +</script> + +<style scoped></style> |