# WithDioramaOptions

interface in `@dioramajs/diorama/next`

```ts
import type { WithDioramaOptions } from '@dioramajs/diorama/next'
```

Options of `withDiorama`.

```ts
interface WithDioramaOptions
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `dir?` | `string` | The effects folder from the project root. Default 'src/effects', or 'effects' without src. |
| `out?` | `string` | The generated module. Default `diorama.gen.ts` next to the folder. |

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