@blockstack/ui
Version:
Blockstack UI components built using React and styled-components with styled-system.
25 lines (21 loc) • 779 B
JavaScript
import { objectWithoutPropertiesLoose as _objectWithoutPropertiesLoose } from '../_virtual/_rollupPluginBabelHelpers.js';
import React__default, { forwardRef } from 'react';
import { Box } from '../box/index.esm.js';
var Flex = /*#__PURE__*/forwardRef(function (_ref, ref) {
var align = _ref.align,
justify = _ref.justify,
wrap = _ref.wrap,
direction = _ref.direction,
rest = _objectWithoutPropertiesLoose(_ref, ["align", "justify", "wrap", "direction"]);
return React__default.createElement(Box, Object.assign({
ref: ref,
display: "flex",
flexDirection: direction,
alignItems: align,
justifyContent: justify,
flexWrap: wrap
}, rest));
});
Flex.displayName = 'Flex';
export { Flex };
//# sourceMappingURL=index.esm.js.map