Skip to content

Commit

Permalink
Fix jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Sep 13, 2024
1 parent d398556 commit f9e5d16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"description": "Whether the can move their cursor from the trigger element toward the tooltip popup element without it closing using a "safe polygon" technique."
},
"onOpenChange": {
"description": "Callback fired when the tooltip popup is requested to be opened or closed."
"description": "Callback fired when the tooltip popup is requested to be opened or closed. Use when controlled."
},
"open": { "description": "Whether the tooltip popup is open. Use when controlled." },
"trackCursorAxis": {
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-base/src/Tooltip/Root/TooltipRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ TooltipRoot.propTypes /* remove-proptypes */ = {
*/
hoverable: PropTypes.bool,
/**
* Callback fired when the tooltip popup is requested to be opened or closed.
* Callback fired when the tooltip popup is requested to be opened or closed. Use when controlled.
*/
onOpenChange: PropTypes.func,
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-base/src/Tooltip/Root/useTooltipRoot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export namespace useTooltipRoot {
*/
open?: boolean;
/**
* Callback fired when the tooltip popup is requested to be opened or closed.
* Callback fired when the tooltip popup is requested to be opened or closed. Use when controlled.
*/
onOpenChange?: (isOpen: boolean, event?: Event, reason?: OpenChangeReason) => void;
/**
Expand Down

0 comments on commit f9e5d16

Please sign in to comment.