UNPKG

bentogreed

Version:

A lightweight, framework-agnostic library for generating bento grid layouts

6 lines 275 B
import { Rectangle, Tile, LayoutTile } from '../types'; /** * Binary split algorithm - recursively splits along the longer dimension */ export declare function binaryLayout(tiles: Tile[], rect: Rectangle, gutter?: number): LayoutTile[]; //# sourceMappingURL=binary.d.ts.map