File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " reearth-realign" ,
3
- "version" : " 1.0.9 " ,
3
+ "version" : " 1.0.10 " ,
4
4
"author" : " KaWaite" ,
5
5
"module" : " dist/realign.esm.js" ,
6
6
"license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export type ItemProps<T extends Location> = {
27
27
dropLocation ?: T ,
28
28
originalLocation ?: T
29
29
) => void ;
30
- onExtend ?: ( id : string ) => void ;
30
+ onExtend ?: ( id : string , extended ?: boolean ) => void ;
31
31
// Props passed from parent.
32
32
location ?: T ;
33
33
end ?: boolean ;
@@ -72,7 +72,7 @@ const GridItem: React.FC<ItemProps<Location>> = ({
72
72
73
73
const handleExtend = ( ) => {
74
74
if ( ! extendable || ! onExtend ) return ;
75
- onExtend ( id ) ;
75
+ onExtend ( id , extended ) ;
76
76
setHovered ( false ) ;
77
77
} ;
78
78
You can’t perform that action at this time.
0 commit comments