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

# DefaultDashboardDateFilter()

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: function
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.tsx

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Default implementation of the date filter to use on the dashboard's filter bar.

This will use the SDK's DateFilter with the button styled same as we have it today on KD.

**Signature:**

```typescript
export declare function DefaultDashboardDateFilter(input: IDashboardDateFilterProps): ReactElement;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| { filter, workingFilter, onFilterChanged, config, readonly, autoOpen, ButtonComponent, overlayPositionType, tabId, customRangeHint, } | (not declared) |  |
| input | [IDashboardDateFilterProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboarddatefilterprops/index.md) |  |

**Returns:**

ReactElement
