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.
1 parent 8ce7e47 commit 7772bd1Copy full SHA for 7772bd1
src/Portal.tsx
@@ -3,7 +3,7 @@ import { useRef, useEffect, forwardRef, useImperativeHandle } from 'react';
3
import ReactDOM from 'react-dom';
4
import canUseDom from './Dom/canUseDom';
5
6
-export type PortalRef = object;
+export type PortalRef = {};
7
8
export interface PortalProps {
9
didUpdate?: (prevProps: PortalProps) => void;
0 commit comments