more descriptive comment for isDisabled prop

This commit is contained in:
Danny Brown 2020-06-25 15:06:14 -04:00 committed by GitHub
parent 11932f460e
commit 9c3159cc15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ Tooltip.defaultProps = {
}; };
Tooltip.propTypes = { Tooltip.propTypes = {
// Allow null /** prevents tooltip from rendering despite hover/active/sticky */
isDisabled: PropTypes.bool, isDisabled: PropTypes.bool,
content: PropTypes.oneOfType([PropTypes.node, PropTypes.func]), content: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
position: PropTypes.oneOf([ position: PropTypes.oneOf([