UNPKG

messonry

Version:

A messy grid layout library for React. Like a masonry layout; except that it crops images as little as possible, and displays them as close to their original aspect ratio as possible.

9 lines (8 loc) 620 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RATIO_STYLES = exports.GRID_STYLE = exports.getAspectRatio = void 0; const getAspectRatio_1 = require("./getAspectRatio"); Object.defineProperty(exports, "getAspectRatio", { enumerable: true, get: function () { return getAspectRatio_1.getAspectRatio; } }); const styles_1 = require("./styles"); Object.defineProperty(exports, "GRID_STYLE", { enumerable: true, get: function () { return styles_1.GRID_STYLE; } }); Object.defineProperty(exports, "RATIO_STYLES", { enumerable: true, get: function () { return styles_1.RATIO_STYLES; } });