From 27e62949ce56107b32bd22da0f003fced7583813 Mon Sep 17 00:00:00 2001 From: dannyrb Date: Tue, 16 Jun 2020 00:44:33 -0400 Subject: [PATCH] Allow null content for ToolTip content --- platform/ui/src/components/Tooltip/Tooltip.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/ui/src/components/Tooltip/Tooltip.jsx b/platform/ui/src/components/Tooltip/Tooltip.jsx index 304d50e44..fabfa18f6 100644 --- a/platform/ui/src/components/Tooltip/Tooltip.jsx +++ b/platform/ui/src/components/Tooltip/Tooltip.jsx @@ -87,7 +87,8 @@ Tooltip.defaultProps = { }; Tooltip.propTypes = { - content: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired, + // Allow null + content: PropTypes.oneOfType([PropTypes.node, PropTypes.func]), position: PropTypes.oneOf([ 'bottom', 'bottom-left',