feat: FRO-24 Create Played Cards Component
This commit is contained in:
@@ -1,12 +1,6 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import {computed, defineProps, toRefs} from 'vue'
|
import {computed, defineProps, toRefs} from 'vue'
|
||||||
import type {Round, Trick} from "@/types/GameSubTypes.ts";
|
import type {Trick} from "@/types/GameSubTypes.ts";
|
||||||
|
|
||||||
type PlayedCard = {
|
|
||||||
cardPath: string
|
|
||||||
player: string
|
|
||||||
}
|
|
||||||
|
|
||||||
const props = defineProps<{ trick: Trick }>()
|
const props = defineProps<{ trick: Trick }>()
|
||||||
|
|
||||||
const {trick } = toRefs(props)
|
const {trick } = toRefs(props)
|
||||||
|
|||||||
Reference in New Issue
Block a user