We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ReactNode
1 parent 1f4594a commit 4ea43f0Copy full SHA for 4ea43f0
src/components/TooltipProvider/TooltipProviderTypes.d.ts
@@ -1,4 +1,4 @@
1
-import type { MutableRefObject, ReactElement, RefObject } from 'react'
+import type { MutableRefObject, ReactNode, RefObject } from 'react'
2
import type { ITooltipController } from 'components/TooltipController/TooltipControllerTypes'
3
4
export type AnchorRef = RefObject<HTMLElement>
@@ -19,7 +19,7 @@ export type TooltipContextDataWrapper = TooltipContextData & {
19
export interface ITooltipWrapper {
20
tooltipId?: string
21
forwardRef?: MutableRefObject<HTMLElement | null>
22
- children: ReactElement
+ children: ReactNode
23
24
place?: ITooltipController['place']
25
content?: ITooltipController['content']
0 commit comments