# lenisSource

function in `@dioramajs/diorama/lenis`

```ts
import { lenisSource } from '@dioramajs/diorama/lenis'
```

Scroll source that reads the page after Lenis wrote it.

```ts
function lenisSource(lenis: LenisLike): ScrollSource
```

| Parameter | Type | Description |
| --- | --- | --- |
| `lenis` | `LenisLike` |  |

Also exported from `@dioramajs/lenis`.

Defined in [packages/lenis/src/source.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/lenis/src/source.ts#L5).
