@nexara/nativeflow
Version:
Beautiful, responsive, and customizable UI components for React Native – built for performance and seamless experiences.
29 lines (28 loc) • 790 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _ResponsiveCalculations = require("../../helpers/ResponsiveCalculations.js");
var _index = require("../StyledComponents/index.js");
var _jsxRuntime = require("react/jsx-runtime");
const VStack = ({
gap = 10,
containerStyle,
children,
...rest
}) => {
const viewProps = {
flexDirection: 'column',
gap: (0, _ResponsiveCalculations.verticalScale)(gap)
};
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.StyledView, {
style: [viewProps, containerStyle],
...rest,
children: children
})
});
};
var _default = exports.default = VStack;
//# sourceMappingURL=VStack.js.map