PromucFlow_constructor/app/client/test/testMockedWidgets.tsx
Ashok Kumar M cf19b8e44d
[Feature] Widget Grouping Phase - 3 (Cut Copy Paste) (#5083)
* Cut copy paste first cut

* removed different parent groups logic

* mouseup on the outer canvas removes selections.

* bug fix

* remove unwanted dead code.

* Adding tests

* build fix

* min height fixes

* fixing specs.

* fixing specs.
2021-06-28 12:41:47 +05:30

10 lines
294 B
TypeScript

import Canvas from "pages/Editor/Canvas";
import React from "react";
import { useSelector } from "react-redux";
import { mockGetCanvasWidgetDsl } from "./testCommon";
export const MockCanvas = () => {
const dsl = useSelector(mockGetCanvasWidgetDsl);
return <Canvas dsl={dsl}></Canvas>;
};