# cycleDetent

The next detent for Enter or Space on the handle: peek, half, full, then
back to peek.

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { cycleDetent } from "@mapcairn/core";
 
function cycleDetent(current: SheetDetent): SheetDetent;
```

## Parameters

- `current` (`SheetDetent`)

## Returns

`SheetDetent`

## See also

- [`SheetDetent`](https://docs.mapcairn.com/api/core/SheetDetent.md)

Source: [packages/core/src/sheet/sheet.ts:133](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/sheet/sheet.ts#L133)
