2020-06-05 17:34:50 +00:00
|
|
|
<template>
|
|
|
|
<div class="row">
|
|
|
|
<label class="col-4">{{ description }}</label>
|
|
|
|
<div class="col-8">
|
|
|
|
<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,
|
|
|
|
},
|
|
|
|
},
|
2020-10-25 09:35:19 +00:00
|
|
|
});
|
2020-06-05 17:34:50 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2020-06-05 17:44:44 +00:00
|
|
|
.row {
|
|
|
|
max-width: 50em;
|
|
|
|
}
|
2020-06-05 17:34:50 +00:00
|
|
|
</style>
|