Skip to content

Commit

Permalink
fix(TooltipIcon): add new direction prop types (#5051)
Browse files Browse the repository at this point in the history
Co-authored-by: Akira Sudoh <asudoh@gmail.com>
  • Loading branch information
2 people authored and tw15egan committed Jan 21, 2020
1 parent 6202406 commit fd3917a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/TooltipIcon/TooltipIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ TooltipIcon.propTypes = {
/**
* Specify the direction of the tooltip. Can be either top or bottom.
*/
direction: PropTypes.oneOf(['top', 'bottom']),
direction: PropTypes.oneOf(['top', 'right', 'left', 'bottom']),

/**
* Specify the alignment (to the trigger button) of the tooltip.
Expand Down

0 comments on commit fd3917a

Please sign in to comment.