mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
* refactor: replace Vue.extend with defineComponent in editor-ui * fix: change $externalHooks extractions from mixins * fix: refactor externalHooks mixin
40 lines
619 B
Vue
40 lines
619 B
Vue
<template>
|
|
<div class="titled-list">
|
|
<p v-text="title" />
|
|
<ul>
|
|
<li v-for="item in items" class="titled-list-item" :key="item" v-html="item" />
|
|
</ul>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
|
|
export default defineComponent({
|
|
name: 'TitledList',
|
|
props: {
|
|
title: {
|
|
type: String,
|
|
},
|
|
items: {
|
|
type: Array,
|
|
default: () => [],
|
|
},
|
|
},
|
|
});
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
.titled-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.titled-list-item {
|
|
list-style: none;
|
|
padding-left: var(--spacing-3xs);
|
|
&::before {
|
|
content: '- ';
|
|
}
|
|
}
|
|
}
|
|
</style>
|