# AstroIntegrationLike

interface in `@dioramajs/diorama/astro`

```ts
import type { AstroIntegrationLike } from '@dioramajs/diorama/astro'
```

The part of an Astro integration the plugin returns.

```ts
interface AstroIntegrationLike
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `hooks` | `{ readonly astro:config:setup: (params: AstroSetupParams) => void }` | Adds the Vite plugin in `astro:config:setup`, and the page script with `lenis` or `restoreScroll`. |
| `name` | `string` | Integration name, 'diorama'. |

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