import { Component } from 'react'; import { TipContainer, observer } from '@alilc/lowcode-editor-core'; import classNames from 'classnames'; import { ISkeleton } from '../skeleton'; import TopArea from './top-area'; import LeftArea from './left-area'; import LeftFixedPane from './left-fixed-pane'; import LeftFloatPane from './left-float-pane'; import Toolbar from './toolbar'; import MainArea from './main-area'; import BottomArea from './bottom-area'; import RightArea from './right-area'; import './workbench.less'; import { SkeletonContext } from '../context'; import { EditorConfig, PluginClassSet } from '@alilc/lowcode-types'; @observer export class Workbench extends Component<{ skeleton: ISkeleton; config?: EditorConfig; components?: PluginClassSet; className?: string; topAreaItemClassName?: string; }> { constructor(props: any) { super(props); const { config, components, skeleton } = this.props; skeleton.buildFromConfig(config, components); } render() { const { skeleton, className, topAreaItemClassName, } = this.props; return (
); } }