mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-19 06:20:10 +00:00
16 lines
339 B
Vue
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>
|