frequi_origin/src/components/ftbot/ValuePair.vue

30 lines
397 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">
export default {
name: 'ValuePair',
props: {
description: {
type: String,
required: true,
},
},
};
</script>
<style scoped>
label {
font-weight: bold;
}
2020-06-05 17:44:44 +00:00
.row {
max-width: 50em;
}
</style>