import React from 'react';
import Space from '../space';
import './style';
import { jsx as _jsx } from "react/jsx-runtime";
const WauSpace = ({
  direction = 'horizontal',
  children,
  style,
  size = 'middle',
  ...restProps
}) => {
  return /*#__PURE__*/_jsx(Space, {
    size: size,
    direction: direction,
    style: {
      display: direction === 'vertical' ? 'flex' : 'inline-flex',
      ...style
    },
    ...restProps,
    children: children
  });
};
export default WauSpace;