Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98193460
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
Fri, Jan 10, 22:06
Size
950 B
Mime Type
text/x-java
Expires
Sun, Jan 12, 22:06 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23528667
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
Portal.d.ts
View Options
import * as React from 'react';
export interface PortalProps {
/**
* The children to render into the `container`.
*/
children?: React.ReactNode;
/**
* An HTML element or function that returns one.
* The `container` will have the portal children appended to it.
*
* By default, it uses the body of the top-level document object,
* so it's simply `document.body` most of the time.
*/
container?: Element | (() => Element | null) | null;
/**
* The `children` will be under the DOM hierarchy of the parent component.
* @default false
*/
disablePortal?: boolean;
}
/**
* Portals provide a first-class way to render children into a DOM node
* that exists outside the DOM hierarchy of the parent component.
*
* Demos:
*
* - [Portal](https://mui.com/base/react-portal/)
*
* API:
*
* - [Portal API](https://mui.com/base/api/portal/)
*/
export default function Portal(props: PortalProps): JSX.Element;
Event Timeline
Log In to Comment