mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-15 04:33:51 +00:00
32 lines
433 B
Vue
32 lines
433 B
Vue
<template>
|
|
<div class="row">
|
|
<label class="col-4">{{ description }}</label>
|
|
<div class="col-8">
|
|
<slot></slot>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import Vue from 'vue';
|
|
|
|
export default Vue.extend({
|
|
name: 'ValuePair',
|
|
props: {
|
|
description: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<style scoped>
|
|
label {
|
|
font-weight: bold;
|
|
}
|
|
.row {
|
|
max-width: 50em;
|
|
}
|
|
</style>
|