[**@gram-ai/elements v1.33.0**](../README.md)

***

[@gram-ai/elements](../globals.md) / getPresetRange

# Function: getPresetRange()

> **getPresetRange**(`preset`): [`TimeRange`](../interfaces/TimeRange.md)

## Parameters

### preset

[`DateRangePreset`](../type-aliases/DateRangePreset.md)

## Returns

[`TimeRange`](../interfaces/TimeRange.md)
