> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# DashboardStub()

- Package: [@gooddata/sdk-ui-loaders](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-loaders/index.md)
- Kind: function
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-loaders/src/dashboard/DashboardStub.tsx
- Guides: [useDashboardLoader](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/hooks/use-dashboard-loader/index.md)

DashboardStub encapsulates load, bootstrap and teardown of a dashboard enhanced by plugins.

**Signature:**

```typescript
export declare function DashboardStub(props: IDashboardStubProps): import("react/jsx-runtime").JSX.Element;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| props | [IDashboardStubProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-loaders/sdk-ui-loaders.idashboardstubprops/index.md) |  |

**Returns:**

import("react/jsx-runtime").JSX.Element

## Remarks

This component is a thin wrapper on top of the [useDashboardLoader()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-loaders/sdk-ui-loaders.usedashboardloader/index.md) hook which does the heavy lifting - you can use the hook in your own component if this simple stub does not suffice.
