mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
React-Grid-Layout: Add preventCollision
+ Add missing `preventCollision` to `coreProps`
This commit is contained in:
Vendored
+5
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user