FlowFormPanel.tsx 566 B

123456789101112131415161718
  1. import React, { useState, useEffect } from 'react';
  2. import ReactDOM from 'react-dom';
  3. import { FlowchartFormPanel } from '@antv/xflow';
  4. import controlMapService from './control-map-service';
  5. import formSchemaService from './formSchemaService';
  6. const CustomFlowchartFormPanel = () => {
  7. return (
  8. <FlowchartFormPanel
  9. show={true}
  10. position={{ width: 320, top: 40, bottom: 0, right: 0 }}
  11. controlMapService={controlMapService}
  12. formSchemaService={formSchemaService}
  13. ></FlowchartFormPanel>
  14. );
  15. };
  16. export default CustomFlowchartFormPanel;