1 | import { __assign } from "tslib";
|
2 | import { jsx } from '@antv/f-engine';
|
3 | import SunburstView from './sunburstView';
|
4 | import IcicleView from './icicleView';
|
5 | export 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 |