Selkies
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

ParameterTypeDescription
props{ container: HTMLElement; }-
props.containerHTMLElementElement the overlay is portaled into.

Returns

ReactPortal

References

default

Renames and re-exports DashboardOverlay

On this page

Edit on GitHub