From 96e1d1634c05fbf6ec74b4c78f95698c53309685 Mon Sep 17 00:00:00 2001 From: Moshe Zemah Date: Wed, 12 Jan 2022 10:29:00 +0200 Subject: [PATCH] Fix dialog hideTriggerIgnoreClass prop type to accept array (#452) --- src/components/Dialog/Dialog.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Dialog/Dialog.jsx b/src/components/Dialog/Dialog.jsx index 76da565ea0..a6a6725f20 100644 --- a/src/components/Dialog/Dialog.jsx +++ b/src/components/Dialog/Dialog.jsx @@ -467,11 +467,11 @@ Dialog.propTypes = { /** * if this class exists on the children the show trigger will be ignored */ - showTriggerIgnoreClass: PropTypes.string, + showTriggerIgnoreClass: PropTypes.oneOfType([PropTypes.string, PropTypes.array]), /** * if this class exists on the children the hide trigger will be ignored */ - hideTriggerIgnoreClass: PropTypes.string, + hideTriggerIgnoreClass: PropTypes.oneOfType([PropTypes.string, PropTypes.array]), /** * Dialog animation type */