/** * @description * @param config {"type":"[[Row]]","props":{},"children":[]} */ import React from "react" import { ComDashboard } from "./ComDashboard" import { Layout } from "./layout" import { Tabs } from "../../" import { OutlineTree } from "./OutlineTree" import { RiFunctionLine, RiGitMergeLine } from "react-icons/ri" export const LayoutDesigner = function (params: { config?: object | null, height: number }) { let { config, height } = params if (!config) { config = { type: "[[Row]]", props: {}, children: [] } } const _height = height + "px" const [state, Tpl]: any = Layout({ config }) const Template = () => { return