From f5bf14b7762c18f33c12b00ffd46cc733ea599d3 Mon Sep 17 00:00:00 2001 From: Szymon Lesisz Date: Thu, 11 Oct 2018 15:17:38 +0200 Subject: [PATCH] fix NotificationGroup.propTypes --- .../NotificationsGroups/components/Group/index.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/notifications/Context/components/Action/components/NotificationsGroups/components/Group/index.js b/src/components/notifications/Context/components/Action/components/NotificationsGroups/components/Group/index.js index 1059dd58..993cd420 100644 --- a/src/components/notifications/Context/components/Action/components/NotificationsGroups/components/Group/index.js +++ b/src/components/notifications/Context/components/Action/components/NotificationsGroups/components/Group/index.js @@ -118,8 +118,14 @@ Group.propTypes = { PropTypes.shape({ key: PropTypes.object, type: PropTypes.string, - title: PropTypes.string, - message: PropTypes.string, + title: PropTypes.oneOfType([ + PropTypes.string, + PropTypes.node, + ]), + message: PropTypes.oneOfType([ + PropTypes.string, + PropTypes.node, + ]), }), ), };