Commit Graph
13 Commits
Author SHA1 Message Date
RitornaandGitHub d94485393e [react-grid-layout] Add null type to compactType
When using undefined on the compactType the Component uses the compactType "vertical" instead of null. By excplicitely using null the grid works fine.
2017-12-18 12:21:36 +01:00
ZheyangSong b3926ce5d6 React-Grid-Layout: Add preventCollision
+ Add missing `preventCollision` to `coreProps`
2017-11-20 11:29:49 -08:00
ZheyangSong b4d173f77e react-grid-layout Layout Interface Update
+ Adjust `Layout` to match the source code's defintion
2017-11-06 16:19:58 -08:00
Andrew HathawayandWesley Wigham 91bbcaf395 Add compactType prop to react-grid-layout (#20406)
* React-grid-layout typings to support compactType prop

* Bump version of typings

* Add in author details

* Fix trailing whitespace
2017-10-09 14:38:44 -07:00
AndyandGitHub 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
AndyandGitHub 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
ZheyangSongandAndy 41e137c8e9 Fix react-grid-layout Type Definition (#18433)
+ each property of `Layouts` should be in shape of `Layout[]`
+ Refs:
    + https://github.com/STRML/react-grid-layout/blob/master/test/examples/0-showcase.jsx#L55
    + https://github.com/STRML/react-grid-layout/blob/master/test/examples/0-showcase.jsx#L84
    + https://github.com/STRML/react-grid-layout/blob/master/lib/responsiveUtils.js#L71
    + https://github.com/STRML/react-grid-layout/blob/master/lib/utils.js#L39
2017-07-27 08:03:46 -07:00
Tanguy Krotoff 573083a518 Replace React.Component<(any|void|\{\}|null)> by React.Component
+ many manual adjustments
2017-06-21 09:48:37 +02:00
Tanguy Krotoff ea9de8a518 Replace React.Component<(.*), (any|void|\{\}|null)> by React.Component<$1>
+ many manual adjustments
2017-06-19 13:35:50 +02:00
Tanguy Krotoff eeb262e1d8 Update react to TypeScript 2.3 2017-06-19 13:34:54 +02:00
Ali Taheri MoghaddarandAndy c69aadeeb5 [react-grid-layout] Improve typings (#16071)
* Improve react-grid-layout typings

* Fix lint errors
2017-05-02 10:12:27 -07:00
AndyandGitHub dae4a527d7 Fix "../tslint.json" to "dtslint.json" (#15957)
* Fix "../tslint.json" to "dtslint.json"

* Fix errors
2017-04-18 10:35:52 -07:00
abirkholz 87e6758d43 Add type for react-grid-layout 2017-04-07 00:19:55 -05:00