mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 17:14:05 -08:00
39 lines
618 B
Vue
39 lines
618 B
Vue
|
<template>
|
||
|
<div :class="$style.block">
|
||
|
<div :class="$style.header">
|
||
|
<n8n-heading tag="h3" size="small" color="text-base">{{ title }}</n8n-heading>
|
||
|
</div>
|
||
|
<div :class="$style.content">
|
||
|
<slot></slot>
|
||
|
</div>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import Vue from 'vue';
|
||
|
|
||
|
export default Vue.extend({
|
||
|
name: 'TemplateDetailsBlock',
|
||
|
props: {
|
||
|
title: {
|
||
|
type: String,
|
||
|
},
|
||
|
},
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" module>
|
||
|
.block {
|
||
|
padding-bottom: var(--spacing-xl);
|
||
|
}
|
||
|
|
||
|
.header {
|
||
|
padding: 0 0 var(--spacing-4xs);
|
||
|
border-bottom: var(--border-base);
|
||
|
}
|
||
|
|
||
|
.content {
|
||
|
padding: var(--spacing-xs) 0 0;
|
||
|
}
|
||
|
</style>
|