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

# ErrorComponent()

- Package: [@gooddata/sdk-ui](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/index.md)
- Kind: function
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui/src/base/react/ErrorComponent.tsx
- Guides: [ErrorComponent](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/interactivity/error-component/index.md)

Component that renders a default error message.

**Signature:**

```typescript
export declare function ErrorComponent(input: IErrorProps): import("react/jsx-runtime").JSX.Element;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| { icon, className, dataTestId, width, height, style, message, description, clientHeight, } | (not declared) |  |
| input | [IErrorProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.ierrorprops/index.md) |  |

**Returns:**

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

## Remarks

See [ErrorComponent](https://www.gooddata.com/docs/gooddata-ui/latest/learn/add_interactivity/error_component)
