1 | import { __assign } from "tslib";
|
2 | import { jsx } from '@antv/f-engine';
|
3 | import Horizontal from './horizontal';
|
4 | import Vertical from './vertical';
|
5 | export default (function (props) {
|
6 | var position = props.position,
|
7 | mode = props.mode;
|
8 | if (mode.length > 1) {
|
9 | return jsx("group", null, jsx(Vertical, __assign({}, props)), jsx(Horizontal, __assign({}, props)));
|
10 | }
|
11 | if (position === 'left' || position === 'right') {
|
12 | return jsx(Vertical, __assign({}, props));
|
13 | }
|
14 | return jsx(Horizontal, __assign({}, props));
|
15 | }); |
\ | No newline at end of file |