17 lines
505 B
Vue
17 lines
505 B
Vue
<script setup lang="ts">
|
|
import { classes } from './support';
|
|
|
|
defineProps<{ data: Record<string, any>; style?: Record<string, string> }>();
|
|
</script>
|
|
|
|
<template>
|
|
<section :class="['mb-block mb-points-box', classes(style)]">
|
|
<div class="mb-inner">
|
|
<h2 v-if="data.title">{{ data.title }}</h2>
|
|
<ul class="mb-points">
|
|
<li v-for="(point, index) in data.points || []" :key="index">{{ point }}</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
</template>
|