<template>
  <div id="ssmlPreview">
    <preview-block
      :minimalistic="minimalistic"
      :emptyMessage="emptyMessage"
      :mergeFields="mergeFields"
      :readonly="readonly"
      :invalid="invalid"
    />
  </div>
</template>

<script>
import PreviewBlock from './_components/preview-block.vue';

export default {
  name: 'PreviewBlockModule',

  components: {
    PreviewBlock
  },

  props: {
    minimalistic: { type: Boolean, default: true },
    emptyMessage: { type: String, default: '' },
    mergeFields: { type: Array, default: () => [] },
    readonly: { type: Boolean, default: false },
    invalid: { type: Boolean, default: false }
  }
};
</script>

<style lang="scss" scoped></style>
