1 | import { jsx } from '../../jsx';
|
2 | import SunburstView from './sunburstView';
|
3 | import IcicleView from './icicleView';
|
4 |
|
5 | export default (props) => {
|
6 | const { coord } = props;
|
7 | if (coord.type === 'polar') {
|
8 | return <SunburstView {...props} />;
|
9 | }
|
10 | return <IcicleView {...props} />;
|
11 | };
|