catchup-library-web 1.14.8 → 1.14.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3,7 +3,6 @@ import { useDrag, useDrop } from "react-dnd";
|
|
|
3
3
|
import { IDraggableDroppableItemProps } from "../../properties/DnDProperties";
|
|
4
4
|
|
|
5
5
|
const DraggableDroppableItem = ({
|
|
6
|
-
key,
|
|
7
6
|
item,
|
|
8
7
|
type,
|
|
9
8
|
component,
|
|
@@ -46,7 +45,6 @@ const DraggableDroppableItem = ({
|
|
|
46
45
|
|
|
47
46
|
return (
|
|
48
47
|
<div
|
|
49
|
-
key={key}
|
|
50
48
|
className={`${
|
|
51
49
|
isDragging ? "w-[0px] opacity-0" : "w-full opacity-100"
|
|
52
50
|
} transition-all duration-500`}
|
|
@@ -2,7 +2,6 @@ import { useDrag } from "react-dnd";
|
|
|
2
2
|
import { IDraggableItemProps } from "../../properties/DnDProperties";
|
|
3
3
|
|
|
4
4
|
const DraggableItem = ({
|
|
5
|
-
key,
|
|
6
5
|
item,
|
|
7
6
|
type,
|
|
8
7
|
component,
|
|
@@ -26,7 +25,6 @@ const DraggableItem = ({
|
|
|
26
25
|
|
|
27
26
|
return (
|
|
28
27
|
<div
|
|
29
|
-
key={key}
|
|
30
28
|
className={`${
|
|
31
29
|
isDragging ? "w-[0px] opacity-0" : "opacity-100"
|
|
32
30
|
} transition-all duration-500`}
|
|
@@ -3,7 +3,6 @@ import { useDrop } from "react-dnd";
|
|
|
3
3
|
import { IDroppableItemProps } from "../../properties/DnDProperties";
|
|
4
4
|
|
|
5
5
|
const DroppableItem = ({
|
|
6
|
-
key,
|
|
7
6
|
item,
|
|
8
7
|
type,
|
|
9
8
|
component,
|
|
@@ -25,11 +24,7 @@ const DroppableItem = ({
|
|
|
25
24
|
dropRef(drop(ref));
|
|
26
25
|
|
|
27
26
|
return (
|
|
28
|
-
<div
|
|
29
|
-
key={key}
|
|
30
|
-
className={`w-full transition-all duration-500 h-full`}
|
|
31
|
-
ref={ref}
|
|
32
|
-
>
|
|
27
|
+
<div className={`w-full transition-all duration-500 h-full`} ref={ref}>
|
|
33
28
|
{component}
|
|
34
29
|
</div>
|
|
35
30
|
);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export interface IDroppableItemProps {
|
|
2
|
-
key: number;
|
|
3
2
|
item: any;
|
|
4
3
|
type: string;
|
|
5
4
|
component: any;
|
|
@@ -9,7 +8,6 @@ export interface IDroppableItemProps {
|
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
export interface IDraggableItemProps {
|
|
12
|
-
key: number;
|
|
13
11
|
item: any;
|
|
14
12
|
type: string;
|
|
15
13
|
component: any;
|