Files
ComfyUI_frontend/src/components/dialog/content/manager/infoPanel/MetadataRow.vue
2025-03-11 09:47:47 -04:00

16 lines
339 B
Vue

<template>
<div class="flex py-1.5 text-xs">
<div class="w-1/3 truncate pr-2 text-muted">{{ label }}:</div>
<div class="w-2/3">
<slot>{{ value }}</slot>
</div>
</div>
</template>
<script setup lang="ts">
const { value = 'N/A', label = 'N/A' } = defineProps<{
label: string
value?: string | number
}>()
</script>