Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100888451
Portal.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Feb 3, 15:45
Size
636 B
Mime Type
text/x-java
Expires
Wed, Feb 5, 15:45 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24049542
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
Portal.d.ts
View Options
import * as React from 'react';
import { DOMContainer } from './useWaitForDOMRef';
export interface PortalProps {
children: React.ReactElement;
/**
* A DOM element, Ref to an element, or function that returns either. The `container` will have the Portal children
* appended to it.
*/
container: DOMContainer;
/**
* Callback that is triggered when the portal content is rendered.
*/
onRendered?: (element: any) => void;
}
/**
* @public
*/
declare const Portal: {
({ container, children, onRendered }: PortalProps): JSX.Element | null;
displayName: string;
};
export default Portal;
Event Timeline
Log In to Comment