1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/__mocks__/react-beautiful-dnd.tsx
Sebastian Malton 73eaf5a22c Replace EntityDetailRegistry with an injectable solution
- Add some behavioural tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-02 09:02:41 -05:00

16 lines
581 B
TypeScript

/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import React from "react";
import type {
DragDropContextProps,
DraggableProps,
DroppableProps,
} from "react-beautiful-dnd";
export const DragDropContext = ({ children }: DragDropContextProps) => <>{ children }</>;
export const Draggable = ({ children }: DraggableProps) => <>{ children({} as any, {} as any, {} as any) }</>;
export const Droppable = ({ children }: DroppableProps) => <>{ children({} as any, {} as any) }</>;