mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #21659 from ZheyangSong/react-grid-layout
React-Grid-Layout: Add `preventCollision`
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