react-photo-album
Version:
Responsive photo gallery component for React
7 lines (4 loc) • 299 B
TypeScript
import { Photo, LayoutModel } from '../types.js';
import 'react';
declare function computeMasonryLayout<TPhoto extends Photo>(photos: TPhoto[], spacing: number, padding: number, containerWidth: number, columns: number): LayoutModel<TPhoto> | undefined;
export { computeMasonryLayout as default };