* 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.
10 lines
294 B
TypeScript
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>;
|
|
};
|