From d8fe0dde10a4e16f2f964402340510feb95f3212 Mon Sep 17 00:00:00 2001 From: Tigran Kaginyan Date: Mon, 16 Apr 2018 14:50:56 +0300 Subject: [PATCH] Added default prop for defaultStyles property --- src/components/ModalPortal.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ModalPortal.js b/src/components/ModalPortal.js index 4ad62d2b..c31d62e7 100644 --- a/src/components/ModalPortal.js +++ b/src/components/ModalPortal.js @@ -22,7 +22,8 @@ export default class ModalPortal extends Component { style: { overlay: {}, content: {} - } + }, + defaultStyles: {} }; static propTypes = {