import React from 'react';
import { View } from 'react-native';
import styled from 'styled-components/native';
import { border, color, flexbox, layout, position, space as spacing } from 'styled-system';
import { getAbsoluteChildren } from '../../../utils';
const StyledZStack = styled(View)(color, spacing, layout, flexbox, border, position);

const ZStack = ({
  children,
  reversed,
  ...props
}) => {
  return /*#__PURE__*/React.createElement(StyledZStack, props, getAbsoluteChildren(children, reversed));
};

export default ZStack;
//# sourceMappingURL=index.js.map