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