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 <[email protected]>
  • Loading branch information
2 people authored and joshblack committed Jan 23, 2020
1 parent 0b753b8 commit b5b4cb5
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 b5b4cb5

Please sign in to comment.