diff --git a/types/react-grid-layout/index.d.ts b/types/react-grid-layout/index.d.ts index d6d89c6727..bf3f5805d9 100644 --- a/types/react-grid-layout/index.d.ts +++ b/types/react-grid-layout/index.d.ts @@ -1,8 +1,9 @@ -// Type definitions for react-grid-layout 0.14 +// Type definitions for react-grid-layout 0.16 // Project: https://github.com/STRML/react-grid-layout // Definitions by: Andrew Birkholz , // Ali Taheri , -// Zheyang Song +// Zheyang Song , +// Andrew Hathaway // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -131,6 +132,11 @@ declare namespace ReactGridLayout { */ verticalCompact?: boolean; + /** + * Compaction type. + */ + compactType?: "vertical" | "horizontal"; + /** * This allows setting the initial width on the server side. * This is required unless using the HOC or similar.