2020-06-05 17:34:50 +00:00
|
|
|
<template>
|
|
|
|
<div class="row">
|
2021-03-10 15:35:14 +00:00
|
|
|
<label :class="classLabel">{{ description }}</label>
|
|
|
|
<div :class="classValue">
|
2020-06-05 17:34:50 +00:00
|
|
|
<slot></slot>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2020-08-09 13:07:09 +00:00
|
|
|
<script lang="ts">
|
2020-10-25 09:35:19 +00:00
|
|
|
import Vue from 'vue';
|
|
|
|
|
|
|
|
export default Vue.extend({
|
2020-06-05 17:34:50 +00:00
|
|
|
name: 'ValuePair',
|
|
|
|
props: {
|
|
|
|
description: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
2021-03-10 15:35:14 +00:00
|
|
|
classLabel: {
|
|
|
|
type: String,
|
2021-12-23 05:42:24 +00:00
|
|
|
default: 'col-4 font-weight-bold mb-0',
|
2021-03-10 15:35:14 +00:00
|
|
|
},
|
|
|
|
classValue: {
|
|
|
|
type: String,
|
|
|
|
default: 'col-8',
|
|
|
|
},
|
2020-06-05 17:34:50 +00:00
|
|
|
},
|
2020-10-25 09:35:19 +00:00
|
|
|
});
|
2020-06-05 17:34:50 +00:00
|
|
|
</script>
|
|
|
|
|
2021-03-10 15:35:14 +00:00
|
|
|
<style scoped></style>
|