Commit 1ef234e2 authored by Luke Bennett's avatar Luke Bennett

Resolve modal

parent 22c39f25
<script>
<<<<<<< HEAD
/* eslint-disable vue/require-default-prop */
export default {
name: 'Modal',
props: {
id: {
type: String,
required: false,
},
title: {
type: String,
required: false,
},
text: {
type: String,
required: false,
},
hideFooter: {
type: Boolean,
required: false,
default: false,
},
kind: {
type: String,
required: false,
default: 'primary',
},
modalDialogClass: {
type: String,
required: false,
default: '',
},
closeKind: {
type: String,
required: false,
default: 'default',
},
closeButtonLabel: {
type: String,
required: false,
default: 'Cancel',
},
primaryButtonLabel: {
type: String,
required: false,
default: '',
},
submitDisabled: {
type: Boolean,
required: false,
default: false,
},
},
computed: {
btnKindClass() {
return {
[`btn-${this.kind}`]: true,
};
},
btnCancelKindClass() {
return {
[`btn-${this.closeKind}`]: true,
};
},
},
=======
/* eslint-disable vue/require-default-prop */
export default {
name: 'Modal',
......@@ -136,7 +66,6 @@
},
},
>>>>>>> upstream/master
methods: {
emitCancel(event) {
this.$emit('cancel', event);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment