n8n/packages/editor-ui/src/components/TemplateDetailsBlock.vue
Ricardo Espinoza 609bc4d97d
Some checks failed
Test Master / install-and-build (push) Has been cancelled
Test Master / Unit tests (18.x) (push) Has been cancelled
Test Master / Unit tests (20.x) (push) Has been cancelled
Test Master / Unit tests (22.4) (push) Has been cancelled
Test Master / Lint (push) Has been cancelled
Test Master / Notify Slack on failure (push) Has been cancelled
refactor(editor): Standardize components sections order (no-changelog) (#10540)
2024-08-24 09:24:08 -04:00

32 lines
526 B
Vue

<script lang="ts" setup>
defineProps<{
title: string;
}>();
</script>
<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>
<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>