查看示例
import { DrillDown } from '@antv/s2-react-components';
import '@antv/s2-react-components/dist/s2-react-components.min.css'
const s2Options = {
width: 600,
height: 480,
hierarchyType: 'tree'
};
<SheetComponent
sheetType="pivot"
options={s2Options}
partDrillDown={{
render: (props) => <DrillDown {...props} />,
...PartDrillDown
}}
/>