UNPKG

353 BJavaScriptView Raw
1import { __assign } from "tslib";
2import { jsx } from '@antv/f-engine';
3import SunburstView from './sunburstView';
4import IcicleView from './icicleView';
5export default (function (props) {
6 var coord = props.coord;
7 if (coord.type === 'polar') {
8 return jsx(SunburstView, __assign({}, props));
9 }
10 return jsx(IcicleView, __assign({}, props));
11});
\No newline at end of file