DashboardStub()
Home > @gooddata/sdk-ui-loaders > DashboardStub
DashboardStub() function
DashboardStub encapsulates load, bootstrap and teardown of a dashboard enhanced by plugins.
Signature:
export declare function DashboardStub(props: IDashboardStubProps): React.JSX.Element;
Parameters
Parameter | Type | Description |
---|---|---|
props | IDashboardStubProps |
Returns:
React.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.