API
const s2Options = {
width: 600,
height: 480,
hierarchyType: 'tree', // 树形结构
};
<SheetComponent
options={s2Options}
partDrillDown={PartDrillDown}
sheetType="pivot" // 透视模式
/>
📊 Check out the React version of the drilldown demo