From e2bc978ab6731d11aad63273d6f4166606428b5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilder=20Gonz=C3=A1lez=20D=C3=ADaz?= Date: Mon, 9 Sep 2024 15:25:42 -0600 Subject: [PATCH] fix: add children to internal tooltip (#2641) --- src/components/InternalTooltip/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/InternalTooltip/index.d.ts b/src/components/InternalTooltip/index.d.ts index c41d7cce5..da2d173da 100644 --- a/src/components/InternalTooltip/index.d.ts +++ b/src/components/InternalTooltip/index.d.ts @@ -1,4 +1,4 @@ -import { ReactNode, RefObject } from 'react'; +import { PropsWithChildren, ReactNode, RefObject } from 'react'; import { TriggerElementRefFunction } from '../InternalOverlay'; import { BaseProps } from '../types'; @@ -8,4 +8,4 @@ export interface InternalTooltipProps extends BaseProps { triggerElementRef?: RefObject | TriggerElementRefFunction; } -export default function(props: InternalTooltipProps): JSX.Element | null; +export default function(props: PropsWithChildren): JSX.Element | null;