1404/11/04- first
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<div class="">
|
||||
<div class="text-gray-400">{{title}}:</div>
|
||||
<div v-if="value" class="font-bold mt-1">{{value}}</div>
|
||||
<slot v-else></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
interface Prop {
|
||||
title: string
|
||||
value?: string
|
||||
}
|
||||
|
||||
const props = defineProps<Prop>()
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user