Skip to content

Commit 704c411

Browse files
committed
refactor(grid): grid Config height to be optional to not break possible usages of this interfaces
1 parent 52864de commit 704c411

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projects/angular-grid-layout/src/lib/grid.definitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type KtdGridCompactType = CompactType;
1919
export interface KtdGridCfg {
2020
cols: number;
2121
rowHeight: number | 'fit'; // row height in pixels
22-
height: number | null;
22+
height?: number | null;
2323
layout: KtdGridLayoutItem[];
2424
preventCollision: boolean;
2525
gap: number;

0 commit comments

Comments
 (0)