Skip to content

Commit

Permalink
fix(tooltip): Add anchor param to showTooltipFromEvent type (#1420)
Browse files Browse the repository at this point in the history
  • Loading branch information
nigellima committed Apr 21, 2021
1 parent 20697e5 commit 1c2569e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tooltip/src/context.ts
Expand Up @@ -7,7 +7,7 @@ export interface TooltipActionsContextData {
position: [number, number],
anchor?: TooltipAnchor
) => void
showTooltipFromEvent: (content: JSX.Element, event: MouseEvent) => void
showTooltipFromEvent: (content: JSX.Element, event: MouseEvent, anchor?: TooltipAnchor) => void
hideTooltip: () => void
}

Expand Down

0 comments on commit 1c2569e

Please sign in to comment.