# braces

function in `@dioramajs/diorama/vite`

```ts
import { braces } from '@dioramajs/diorama/vite'
```

Lines of a braced block. An empty one is `{}` on the opening line, as Biome and Prettier print
it, so formatting a generated file for an empty folder leaves it as written.

```ts
function braces(open: string, rows: readonly string[], close: string): string[]
```

| Parameter | Type | Description |
| --- | --- | --- |
| `open` | `string` |  |
| `rows` | `readonly string[]` |  |
| `close` | `string` |  |

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