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.
2 parents 1f4594a + 4bbe124 commit aa93e8eCopy full SHA for aa93e8e
src/components/TooltipProvider/TooltipProviderTypes.d.ts
@@ -1,4 +1,4 @@
1
-import type { MutableRefObject, ReactElement, RefObject } from 'react'
+import type { ReactNode, RefObject } from 'react'
2
import type { ITooltipController } from 'components/TooltipController/TooltipControllerTypes'
3
4
export type AnchorRef = RefObject<HTMLElement>
@@ -18,8 +18,7 @@ export type TooltipContextDataWrapper = TooltipContextData & {
18
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