UNPKG

@activecollab/components

Version:

ActiveCollab Components

19 lines 760 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; const _excluded = ["space", "align", "children"]; import React, { forwardRef } from "react"; import { StyledStack } from "./Styles"; export const Stack = /*#__PURE__*/forwardRef((_ref, ref) => { let _ref$space = _ref.space, space = _ref$space === void 0 ? "md" : _ref$space, align = _ref.align, children = _ref.children, rest = _objectWithoutPropertiesLoose(_ref, _excluded); return /*#__PURE__*/React.createElement(StyledStack, _extends({ ref: ref, $space: space, $align: align }, rest), children); }); Stack.displayName = "Stack"; //# sourceMappingURL=Stack.js.map