Skip to content

Commit

Permalink
feat(core): allow string format spec in BasicTooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Benitte committed Apr 23, 2019
1 parent b8d3abb commit 8b382dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/tooltip/BasicTooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ BasicTooltip.propTypes = {
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
enableChip: PropTypes.bool.isRequired,
color: PropTypes.string,
format: PropTypes.func,
format: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
renderContent: PropTypes.func,
}

Expand Down

0 comments on commit 8b382dc

Please sign in to comment.