Skip to content

Commit

Permalink
Fixed BarItem's tooltipFormat PropTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Oesteritz authored and Raphaël Benitte committed Dec 23, 2018
1 parent 7a0d73e commit 3d01b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bar/src/BarItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ BarItem.propTypes = {
showTooltip: PropTypes.func.isRequired,
hideTooltip: PropTypes.func.isRequired,
getTooltipLabel: PropTypes.func.isRequired,
tooltipFormat: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
tooltipFormat: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
onClick: PropTypes.func,
onMouseEnter: PropTypes.func,
onMouseLeave: PropTypes.func,
Expand Down

0 comments on commit 3d01b42

Please sign in to comment.