Skip to content

Commit

Permalink
[QMessageBox] Add prop (#39)
Browse files Browse the repository at this point in the history
add class to [QMessageBox]
  • Loading branch information
shamilfrontend authored Jan 20, 2021
1 parent 77315c0 commit 8885751
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/qComponents/QMessageBox/src/QMessageBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
v-if="isShown"
ref="messageBox"
class="q-message-box"
:class="wrapClass"
:style="{ zIndex }"
tabindex="-1"
@keyup.esc="closeBox"
Expand Down Expand Up @@ -175,6 +176,10 @@ export default {
componentProps: {
type: Object,
default: () => ({})
},
wrapClass: {
type: [String, Object, Array],
default: null
}
},
Expand Down

0 comments on commit 8885751

Please sign in to comment.