Skip to content

Commit b5b4cb5

Browse files
emyarodasudoh
authored andcommitted
fix(TooltipIcon): add new direction prop types (#5051)
Co-authored-by: Akira Sudoh <asudoh@gmail.com>
1 parent 0b753b8 commit b5b4cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/components/TooltipIcon/TooltipIcon.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ TooltipIcon.propTypes = {
5555
/**
5656
* Specify the direction of the tooltip. Can be either top or bottom.
5757
*/
58-
direction: PropTypes.oneOf(['top', 'bottom']),
58+
direction: PropTypes.oneOf(['top', 'right', 'left', 'bottom']),
5959

6060
/**
6161
* Specify the alignment (to the trigger button) of the tooltip.

0 commit comments

Comments
 (0)