import React from 'react' import { Row, Col, Checkbox } from 'antd' import { onSectionChange } from './util' import { ISpecConfig } from '../types' import styles from '../../../Workbench.less' interface ISpecSectionPieProps { spec: ISpecConfig title: string onChange: (value: string | number, propPath: string | string[]) => void } function SpecSectionPie (props: ISpecSectionPieProps) { const { spec, title, onChange } = props const { circle, roseType } = spec return (