mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Fix new build errors in @k8slens/core
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
64f3a47230
commit
3a62cd4848
23 files changed
+99
-118
No files matched your search
@@ -7,9 +7,13 @@ import React from "react";
|
||||
import type {
|
||||
DragDropContextProps,
|
||||
DraggableProps,
|
||||
DraggableProvided,
|
||||
DraggableProvidedDraggableProps,
|
||||
DraggableStateSnapshot,
|
||||
DroppableProps,
|
||||
DroppableProvided,
|
||||
DroppableProvidedProps,
|
||||
DroppableStateSnapshot,
|
||||
} from "react-beautiful-dnd";
|
||||
|
||||
export const DragDropContext = ({ children }: DragDropContextProps) => <>{ children }</>;
|
||||
@@ -20,14 +24,14 @@ export const Draggable = ({ children }: DraggableProps) => (
|
||||
{
|
||||
draggableProps: {} as DraggableProvidedDraggableProps,
|
||||
innerRef: () => {},
|
||||
},
|
||||
} as unknown as DraggableProvided,
|
||||
{
|
||||
isDragging: false,
|
||||
isDropAnimating: false,
|
||||
},
|
||||
} as DraggableStateSnapshot,
|
||||
{
|
||||
draggableId: "some-mock-draggable-id",
|
||||
mode: "FLUID",
|
||||
type: "FLUID",
|
||||
source: {
|
||||
droppableId: "some-mock-droppable-id",
|
||||
index: 0,
|
||||
@@ -44,11 +48,11 @@ export const Droppable = ({ children }: DroppableProps) => (
|
||||
{
|
||||
droppableProps: {} as DroppableProvidedProps,
|
||||
innerRef: () => {},
|
||||
},
|
||||
} as unknown as DroppableProvided,
|
||||
{
|
||||
isDraggingOver: false,
|
||||
isUsingPlaceholder: false,
|
||||
},
|
||||
} as DroppableStateSnapshot,
|
||||
)
|
||||
}
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user