update cuz presentation

This commit is contained in:
Wroclaw 2023-05-24 09:40:45 +02:00
parent 7a9e451739
commit 4e67cc4e19
29 changed files with 1065 additions and 88 deletions

View file

@ -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" />