mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-03 18:38:11 +00:00
25 lines
853 B
TypeScript
25 lines
853 B
TypeScript
import React, { PureComponent } from 'react';
|
|
import Editor from '@ali/lowcode-editor-framework';
|
|
import { PluginConfig } from '@ali/lowcode-editor-framework/lib/definitions';
|
|
import './index.scss';
|
|
export interface LeftAreaNavProps {
|
|
editor: Editor;
|
|
}
|
|
export interface LeftAreaNavState {
|
|
activeKey: string;
|
|
}
|
|
export default class LeftAreaNav extends PureComponent<LeftAreaNavProps, LeftAreaNavState> {
|
|
static displayName: string;
|
|
private editor;
|
|
private areaManager;
|
|
constructor(props: any);
|
|
componentDidMount(): void;
|
|
componentWillUnmount(): void;
|
|
handleSkeletonUpdate: () => void;
|
|
handlePluginChange: (key: string) => void;
|
|
handlePluginClick: (item: PluginConfig) => void;
|
|
updateActiveKey: (key: string) => void;
|
|
renderPluginList: (list?: PluginConfig[]) => any[];
|
|
render(): React.ReactNode;
|
|
}
|