Skip to content

Commit

Permalink
Update Tooltip return type for compat with @types/react@^17
Browse files Browse the repository at this point in the history
  • Loading branch information
Germain committed Aug 24, 2023
1 parent e28b6ab commit 9adc23b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const Tooltip = ({
onEscapeKeyDown,
onPointerDownOutside,
open,
}: PropsWithChildren<TooltipProps>) => {
}: PropsWithChildren<TooltipProps>): JSX.Element => {
return (
<Provider>
<Root open={open} delayDuration={300}>
Expand Down

0 comments on commit 9adc23b

Please sign in to comment.