From 1e3c9ca29f3422268e2fa8aba208c2be345f3607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilder=20Gonz=C3=A1lez=20D=C3=ADaz?= Date: Mon, 9 Sep 2024 12:38:59 -0600 Subject: [PATCH] fix: add children to internal tooltip --- 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;