frequi_origin/src/components/ftbot/ValuePair.vue

32 lines
433 B
Vue
Raw Normal View History

<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({
name: 'ValuePair',
props: {
description: {
type: String,
required: true,
},
},
2020-10-25 09:35:19 +00:00
});
</script>
<style scoped>
label {
font-weight: bold;
}
2020-06-05 17:44:44 +00:00
.row {
max-width: 50em;
}
</style>