tailwind-grid-layout
Version:
A modern, Tailwind CSS-based grid layout system for React. A lightweight alternative to react-grid-layout with full feature parity.
15 lines • 635 B
TypeScript
import { GridItem } from '../types';
import { BreakpointLayouts } from '../components/ResponsiveGridContainer';
/**
* 모든 breakpoint에 동일한 레이아웃을 적용
* react-grid-layout의 generateLayouts와 동일
*/
export declare function generateLayouts(layout: GridItem[], breakpoints?: string[]): BreakpointLayouts;
/**
* 반응형 레이아웃 생성 (breakpoint별로 다른 컬럼 수에 맞춤)
* react-grid-layout과 동일한 동작
*/
export declare function generateResponsiveLayouts(items: GridItem[], colsMap?: {
[breakpoint: string]: number;
}): BreakpointLayouts;
//# sourceMappingURL=layouts.d.ts.map