From c5284eb07039845a2d03968c593af6b379529b45 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Mon, 18 Dec 2017 23:06:21 +1300 Subject: [PATCH] Allow BaseDialog to take a class for the title
Some dialogs need to set additional classes on the `mx_Dialog_title` `div` element (for example `danger`). --- src/components/views/dialogs/BaseDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/dialogs/BaseDialog.js b/src/components/views/dialogs/BaseDialog.js index b88a6c026e..56c8322c0b 100644 --- a/src/components/views/dialogs/BaseDialog.js +++ b/src/components/views/dialogs/BaseDialog.js @@ -75,7 +75,7 @@ export default React.createClass({ > -
+
{ this.props.title }
{ this.props.children }