From d08f0c59f0ada8aeaa342557c275a3137adc3068 Mon Sep 17 00:00:00 2001 From: Stepan Kuzmin Date: Tue, 19 Jul 2022 13:39:56 +0300 Subject: [PATCH] fix: use undefined as Popup default props (#402) --- src/components/Popup/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Popup/index.js b/src/components/Popup/index.js index 8f785b91..d6a19f56 100644 --- a/src/components/Popup/index.js +++ b/src/components/Popup/index.js @@ -70,10 +70,10 @@ class Popup extends PureComponent { static defaultProps = { closeButton: true, closeOnClick: true, - onClose: null, - anchor: null, - offset: null, - className: null, + onClose: undefined, + anchor: undefined, + offset: undefined, + className: undefined, maxWidth: '240px' };