Allow null content for ToolTip content
This commit is contained in:
parent
c264b32e7d
commit
27e62949ce
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user