mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Update react-grid-layout onDrop arguments (#45427)
This commit is contained in:
parent
77cae57845
commit
ec1b93cf0b
2
types/react-grid-layout/index.d.ts
vendored
2
types/react-grid-layout/index.d.ts
vendored
@ -238,7 +238,7 @@ declare namespace ReactGridLayout {
|
||||
/**
|
||||
* Calls when some element has been dropped
|
||||
*/
|
||||
onDrop?(elemParams: { x: number, y: number, e: Event }): void;
|
||||
onDrop?(elemParams: { x: number, y: number, w: number, h: number, e: Event }): void;
|
||||
}
|
||||
|
||||
interface ReactGridLayoutProps extends CoreProps {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user