import React from 'react' import { Row, Col, Select, Checkbox, InputNumber } from 'antd' const Option = Select.Option import { onSectionChange } from './util' import { ISpecConfig } from '../types' import styles from '../../../Workbench.less' interface ISpecSectionSankeyProps { spec: ISpecConfig title: string onChange: (value: string | number, propPath: string | string[]) => void } function SpecSectionSankey (props: ISpecSectionSankeyProps) { const { spec, title, onChange } = props const { draggable, nodeWidth, nodeGap, orient } = spec return (