React-Grid-Layout: Add preventCollision

+ Add missing `preventCollision` to `coreProps`
This commit is contained in:
ZheyangSong
2017-11-20 11:29:49 -08:00
parent a4c2d3c7de
commit b3926ce5d6
+5
View File
@@ -178,6 +178,11 @@ declare namespace ReactGridLayout {
*/
isRearrangeable?: boolean;
/**
* If true, grid items won't change position when being dragged over.
*/
preventCollision?: boolean;
/**
* Uses CSS3 `translate()` instead of position top/left.
* This makes about 6x faster paint performance.