Skip to content

Commit

Permalink
Added ability to merge default and custom arrow options.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Haynes committed Feb 26, 2020
1 parent e623048 commit 3bdbfc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/material-ui/src/Tooltip/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ const Tooltip = React.forwardRef(function Tooltip(props, ref) {
arrow: {
enabled: Boolean(arrowRef),
element: arrowRef,
...(popperOptions && popperOptions.modifiers && popperOptions.modifiers.arrow),
},
...(popperOptions && popperOptions.modifiers),
},
Expand Down

0 comments on commit 3bdbfc6

Please sign in to comment.