Developer ReferenceDashboardComponents
components/DashboardOverlay
Portal that places the sidebar over the stream.
Functions
DashboardOverlay()
function DashboardOverlay(props): ReactPortal;Defined in: components/DashboardOverlay.jsx:21
Renders the sidebar into container through a portal, or nothing until a
container exists.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | { container: HTMLElement; } | - |
props.container | HTMLElement | Element the overlay is portaled into. |
Returns
ReactPortal
References
default
Renames and re-exports DashboardOverlay