Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

braces function

Lines of a braced block.

View as Markdown
import { braces } from '@dioramajs/diorama/vite'

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.

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

Parameters

NameTypeDescription
openstring
rowsreadonly string[]
closestring

Defined in packages/diorama/src/vite.ts.