From d72c16591283e3ca3ad62373b1582f4356a05dc1 Mon Sep 17 00:00:00 2001 From: "Andrey.Yaroshenko" Date: Thu, 23 Nov 2017 14:45:39 +0300 Subject: [PATCH] feat(Dialog): ability to style dialog using inline styles (#57) --- src/Dialog/Dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dialog/Dialog.js b/src/Dialog/Dialog.js index e532df3..dbae509 100644 --- a/src/Dialog/Dialog.js +++ b/src/Dialog/Dialog.js @@ -60,11 +60,11 @@ class Dialog extends Component { onClick={(e) => { if (onClose) onClose(e); }} onTransitionEnd={() => { this.setState({ animating: false }); }} {...ariaHiddenProp} - {...otherProps} >
{ e.stopPropagation(); }} + {...otherProps} > {children}