mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 04:48:50 +03:00
support header image in QuestionDialog
This commit is contained in:
parent
3c49515e08
commit
e016cbefff
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ export default createReactClass({
|
|||
danger: PropTypes.bool,
|
||||
focus: PropTypes.bool,
|
||||
onFinished: PropTypes.func.isRequired,
|
||||
headerImage: PropTypes.string,
|
||||
},
|
||||
|
||||
getDefaultProps: function() {
|
||||
|
@ -63,6 +64,7 @@ export default createReactClass({
|
|||
<BaseDialog className="mx_QuestionDialog" onFinished={this.props.onFinished}
|
||||
title={this.props.title}
|
||||
contentId='mx_Dialog_content'
|
||||
headerImage={this.props.headerImage}
|
||||
hasCancel={this.props.hasCancelButton}
|
||||
>
|
||||
<div className="mx_Dialog_content" id='mx_Dialog_content'>
|
||||
|
|
Loading…
Reference in a new issue