import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_components__ from "@tachybase/components";
import * as __WEBPACK_EXTERNAL_MODULE_antd__ from "antd";
const Space = (props)=>{
    let { split } = props;
    if ('|' === split) split = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)("span", {
        children: "\xa0"
    });
    const layout = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_components__.useFormLayout)();
    var _props_size;
    return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].createElement(__WEBPACK_EXTERNAL_MODULE_antd__.Space, {
        size: null !== (_props_size = props.size) && void 0 !== _props_size ? _props_size : null == layout ? void 0 : layout.spaceGap,
        ...props,
        split
    });
};
const space_rslib_entry_ = Space;
export { Space, space_rslib_entry_ as default };
