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

# IDashboardStubProps

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

**Signature:**

```typescript
export interface IDashboardStubProps extends IDashboardLoadOptions 
```
**Extends:** [IDashboardLoadOptions](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-loaders/sdk-ui-loaders.idashboardloadoptions/index.md)

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [ErrorComponent?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-loaders/sdk-ui-loaders.idashboardstubprops/index.md#idashboardstubpropserrorcomponent) |  | ComponentType&lt;[IErrorProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.ierrorprops/index.md)&gt; | _(Optional)_ Component to render if embedding fails. |
| [LoadingComponent?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-loaders/sdk-ui-loaders.idashboardstubprops/index.md#idashboardstubpropsloadingcomponent) |  | ComponentType&lt;[ILoadingProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.iloadingprops/index.md)&gt; | _(Optional)_ Component to render while the insight is loading. |

## Property details

### IDashboardStubProps.ErrorComponent

Component to render if embedding fails.

**Signature:**

```typescript
ErrorComponent?: ComponentType<IErrorProps>;
```

### IDashboardStubProps.LoadingComponent

Component to render while the insight is loading.

**Signature:**

```typescript
LoadingComponent?: ComponentType<ILoadingProps>;
```
