aboutsummaryrefslogtreecommitdiff
path: root/kamon-status/src/components/StatusSection.vue
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-status/src/components/StatusSection.vue')
-rw-r--r--kamon-status/src/components/StatusSection.vue19
1 files changed, 19 insertions, 0 deletions
diff --git a/kamon-status/src/components/StatusSection.vue b/kamon-status/src/components/StatusSection.vue
new file mode 100644
index 00000000..b94b5bdf
--- /dev/null
+++ b/kamon-status/src/components/StatusSection.vue
@@ -0,0 +1,19 @@
+<template>
+ <div class="row">
+ <div class="col-12 pt-4 pb-2">
+ <h3>{{ title }}</h3>
+ </div>
+ <div class="col-12 py-1">
+ <slot name="default"/>
+ </div>
+ </div>
+</template>
+
+<script lang="ts">
+import { Component, Prop, Vue } from 'vue-property-decorator'
+
+@Component
+export default class StatusSection extends Vue {
+ @Prop() private title!: string
+}
+</script> \ No newline at end of file