Update react-grid-layout onDrop arguments (#45427)

This commit is contained in:
Enix 2020-07-08 03:15:30 +08:00 committed by GitHub
parent 77cae57845
commit ec1b93cf0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {