diff options
Diffstat (limited to 'src/components/modal/modal.js')
| -rw-r--r-- | src/components/modal/modal.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/components/modal/modal.js b/src/components/modal/modal.js new file mode 100644 index 00000000..b9517445 --- /dev/null +++ b/src/components/modal/modal.js @@ -0,0 +1,20 @@ +import Vue from 'vue' + +const Modal = { + props: { + viewClass: { + type: String + }, + isOpen: { + type: Boolean, + default: true + } + }, + methods: { + closeModal () { + this.$emit('close') + } + } +} + +export default Modal
\ No newline at end of file |
