forked from Wroclaw/WorkshopTasker
update cuz presentation
This commit is contained in:
parent
7a9e451739
commit
4e67cc4e19
29 changed files with 1065 additions and 88 deletions
|
@ -2,6 +2,7 @@
|
|||
const props = defineProps<{
|
||||
records: Array<any>,
|
||||
recordKey: string,
|
||||
recordValue?: string,
|
||||
variant?: "default" | "inset" | "accordion" | "popout",
|
||||
modelValue?: any,
|
||||
}>();
|
||||
|
@ -22,6 +23,7 @@ defineEmits<{
|
|||
v-for="record in records"
|
||||
:key="record[recordKey]"
|
||||
:variant="props.variant ?? 'default'"
|
||||
:value="recordValue !== undefined ? record[recordValue] : undefined"
|
||||
>
|
||||
<template #title>
|
||||
<slot name="title" :record="record" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue