<script>
export default {
  props: {
    size: {type: String, default: "md"},
    is_centered: {type: Boolean, default: true},
    is_showed: {type: Boolean, default: false},
  },
  methods : {
    toggleCloseModal(){
      this.$emit("close")
    }
  }
}
</script>
<template>
  <div>
    <b-modal v-model="is_showed" :size="size" :centered="is_centered" hide-header hide-footer @hidden="toggleCloseModal">
      <slot/>
    </b-modal>
  </div>
</template>