zhengyiming
2025-02-25 53baf1b2fa7e17f7b41e0999bc452f80efe6d216
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<template>
  <div class="confirm-dialog-content-info-item" :class="{ danger }">
    <div class="confirm-dialog-content-info-item-label">{{ label }}</div>
    <div class="confirm-dialog-content-info-item-content">{{ content }}</div>
  </div>
</template>
 
<script setup lang="ts">
defineOptions({
  name: 'ConfirmDialogInfoItem',
});
 
type Props = {
  label?: string;
  content?: string | number;
  danger?: boolean;
};
 
const props = withDefaults(defineProps<Props>(), {});
</script>