DashboardStub()
DashboardStub encapsulates load, bootstrap and teardown of a dashboard enhanced by plugins.
export declare function DashboardStub(props: IDashboardStubProps): import("react/jsx-runtime").JSX.Element;
Parameters
Parameter | Type | Description |
|---|---|---|
props |
Returns
import(“react/jsx-runtime”).JSX.Element
Remarks
This component is a thin wrapper on top of the useDashboardLoader() hook which does the heavy lifting - you can use the hook in your own component if this simple stub does not suffice.