index.tsx 273 Bytes
Newer Older
陈帅's avatar
陈帅 committed
1 2 3 4
import React from 'react';
import { Card } from 'antd';
import { Minimap } from 'gg-editor';

陈帅's avatar
陈帅 committed
5
const EditorMinimap = () => (
陈帅's avatar
陈帅 committed
6 7 8 9 10 11
    <Card type="inner" size="small" title="Minimap" bordered={false}>
      <Minimap height={200} />
    </Card>
  );

export default EditorMinimap;