aboutsummaryrefslogtreecommitdiff
path: root/src/components/modal/modal.js
blob: b951744564027de17e84908263734ba7c48c0353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import Vue from 'vue'

const Modal = {
  props: {
    viewClass: {
      type: String
    },
    isOpen: {
      type: Boolean,
      default: true
    }
  },
  methods: {
    closeModal () {
      this.$emit('close')
    }
  }
}

export default Modal