UNPKG

@nexara/nativeflow

Version:

Beautiful, responsive, and customizable UI components for React Native – built for performance and seamless experiences.

25 lines (24 loc) 622 B
"use strict"; import { verticalScale } from "../../helpers/ResponsiveCalculations.js"; import { StyledView } from "../StyledComponents/index.js"; import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime"; const VStack = ({ gap = 10, containerStyle, children, ...rest }) => { const viewProps = { flexDirection: 'column', gap: verticalScale(gap) }; return /*#__PURE__*/_jsx(_Fragment, { children: /*#__PURE__*/_jsx(StyledView, { style: [viewProps, containerStyle], ...rest, children: children }) }); }; export default VStack; //# sourceMappingURL=VStack.js.map