skin dialogs correctly

This commit is contained in:
Matthew Hodgson 2015-07-21 16:48:55 -07:00
parent 0b3a9baa44
commit ceb214f192
2 changed files with 43 additions and 15 deletions

View file

@ -40,10 +40,14 @@ module.exports = React.createClass({
<div className="mx_ErrorDialogTitle">
{this.props.title}
</div>
{this.props.description}<br />
<button onClick={this.props.onFinished} autoFocus={this.props.focus}>
{this.props.button}
</button>
<div className="mx_Dialog_content">
{this.props.description}
</div>
<div className="mx_Dialog_buttons">
<button onClick={this.props.onFinished} autoFocus={this.props.focus}>
{this.props.button}
</button>
</div>
</div>
);
}