From d3cd2944bde49e5605e41cabe584f01c31cdbbc7 Mon Sep 17 00:00:00 2001 From: rot1024 Date: Sun, 26 Sep 2021 19:07:33 +0900 Subject: [PATCH] fix: onMoveArea type --- src/Grid/GridItem/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grid/GridItem/index.tsx b/src/Grid/GridItem/index.tsx index 53b8e89..23fdd72 100644 --- a/src/Grid/GridItem/index.tsx +++ b/src/Grid/GridItem/index.tsx @@ -29,7 +29,7 @@ export type ItemProps = { onMoveArea: ( currentItem: string, dropLocation: T, - originalLocation?: T + originalLocation: T ) => void; onExtend?: (id: string, extended: boolean) => void; // Props passed from parent.