<template>
  <div>
    <Caption v-bind="{title: $stripHtml(title) || 'Thành công', type: 'has-text-primary'}"></Caption>
    <div class="field is-grouped mb-0 pb-0">
      <div class="control is-expanded pr-3 mb-0" v-html="content"></div>
      <div class="control mb-0">
        <SvgIcon v-bind="{name: 'check2.svg', type: 'primary', size: 24}"></SvgIcon>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  props: ['content', 'title'],
  methods: {
    cancel() {
      this.$store.commit('updateStore', {name: 'showmodal', data:  undefined})
    }
  }
}
</script>