Skip to content

Commit

Permalink
fix: add children to internal tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
wildergd authored Sep 9, 2024
1 parent 11a0469 commit 1e3c9ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/InternalTooltip/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReactNode, RefObject } from 'react';
import { PropsWithChildren, ReactNode, RefObject } from 'react';
import { TriggerElementRefFunction } from '../InternalOverlay';
import { BaseProps } from '../types';

Expand All @@ -8,4 +8,4 @@ export interface InternalTooltipProps extends BaseProps {
triggerElementRef?: RefObject<HTMLElement> | TriggerElementRefFunction;
}

export default function(props: InternalTooltipProps): JSX.Element | null;
export default function(props: PropsWithChildren<InternalTooltipProps>): JSX.Element | null;

0 comments on commit 1e3c9ca

Please sign in to comment.