import React from 'react';
import { View as DefaultView } from 'react-native';
import If from '../If';
import { View } from './styles';
const Shadow = ({ children, hasShadow = true, ...rest }) => (<>
    <If condition={hasShadow}>
      <View {...rest}>{children}</View>
    </If>
    <If condition={!hasShadow}>
      <DefaultView {...rest}>{children}</DefaultView>
    </If>
  </>);
export default Shadow;
//# sourceMappingURL=index.js.map