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

# IUseInsightWidgetDataView

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

Configuration for the `useInsightWidgetDataView` hook.

**Signature:**

```typescript
export interface IUseInsightWidgetDataView 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [insightWidget?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iuseinsightwidgetdataview/index.md#iuseinsightwidgetdataviewinsightwidget) |  | [IInsightWidget](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iinsightwidget/index.md) | _(Optional)_ Insight widget to get data view for. |

## Property details

### IUseInsightWidgetDataView.insightWidget

Insight widget to get data view for.

**Signature:**

```typescript
insightWidget?: IInsightWidget;
```

#### Remarks

Note: When the insight widget is not provided, hook is locked in a "pending" state.
