2022-02-16 11:20:17 +08:00

20 lines
476 B
TypeScript

import { PureComponent } from 'react';
import { globalContext } from '@alilc/lowcode-editor-core';
import { PluginProps } from '@alilc/lowcode-types';
import { OutlinePane } from './pane';
export const Backup = Symbol.for('backup-outline');
export class OutlineBackupPane extends PureComponent<PluginProps> {
render() {
return (
<OutlinePane
editor={globalContext.get('editor')}
config={{
name: Backup,
}}
/>
);
}
}