Files
ntspi-app/resources/js/Components/BuilderUi/Programs/Blocks/HeadingBlock.vue
T
2024-09-19 16:06:49 +05:00

31 lines
446 B
Vue

<template>
<div>
<h2 class="md:font-bold md:text-xl text-lg font-medium text-gray-800">{{ block.data.content }}</h2>
</div>
</template>
<script>
import slugify from "slugify";
export default {
name: "HeadingBlock",
methods: {
generateSlug: function (text) {
return slugify(text, {
lower: true,
strict: true,
locale: 'ru'
});
},
},
props: {
block: {
type: Object,
},
},
}
</script>
<style scoped>
</style>