Genesis
@beta

__type

The gallery's defaults, the same on web and native: a target row height and the space between tiles (px on web, points on native), and the columns of `layout="grid"`.

packages/ui/src/components/patterns/gallery-types.ts

Import
Subpath export: @marktiderman/genesis-ui/patterns
import { __type } from "@marktiderman/genesis-ui/patterns";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

__type

The gallery's defaults, the same on web and native: a target row height and the space between tiles (px on web, points on native), and the columns of `layout="grid"`.

No declared props.

GalleryItem

One image in a gallery. Shared by `GalleryGrid`, `Lightbox` and their native twins, so a consumer passes the same array to the grid and to the viewer it opens. `width`/`height` are the image's intrinsic pixel size when known; the justified layout uses their ratio to pack rows and falls back to 4:3 when they are absent.

No declared props.

GalleryTileAspect

A `layout="grid"` tile's shape: a ratio (width / height; 1 is square, the default), or `"item"` for each item's own (its `width`/`height`, 4:3 when unknown).

No declared props.