import omit from 'lodash.omit';
import pick from 'lodash.pick';

const boxProps = [
  'alignContent',
  'alignItems',
  'alignSelf',
  'boxSizing',
  'children',
  'className',
  'display',
  'element',
  'flex',
  'flexBasis',
  'flexDirection',
  'flexGrow',
  'flexShrink',
  'flexWrap',
  'justifyContent',
  'margin',
  'marginHorizontal',
  'marginVertical',
  'marginBottom',
  'marginLeft',
  'marginRight',
  'marginTop',
  'order',
  'overflow',
  'overflowX',
  'overflowY',
  'padding',
  'paddingHorizontal',
  'paddingVertical',
  'paddingBottom',
  'paddingLeft',
  'paddingRight',
  'paddingTop',
];

const omitBoxProps = props => omit(props, boxProps);
const pickBoxProps = props => pick(props, boxProps);

export default boxProps;
export { omitBoxProps, pickBoxProps };

import omit from 'lodash.omit';
import pick from 'lodash.pick';

const boxProps = [
  'alignContent',
  'alignItems',
  'alignSelf',
  'boxSizing',
  'children',
  'className',
  'display',
  'element',
  'flex',
  'flexBasis',
  'flexDirection',
  'flexGrow',
  'flexShrink',
  'flexWrap',
  'justifyContent',
  'margin',
  'marginHorizontal',
  'marginVertical',
  'marginBottom',
  'marginLeft',
  'marginRight',
  'marginTop',
  'order',
  'padding',
  'paddingHorizontal',
  'paddingVertical',
  'paddingBottom',
  'paddingLeft',
  'paddingRight',
  'paddingTop',
];

const omitBoxProps = props => omit(props, boxProps);
const pickBoxProps = props => pick(props, boxProps);

export default boxProps;
export { omitBoxProps, pickBoxProps };

--- 
+++ 
@@ -25,6 +25,9 @@
   'marginRight',
   'marginTop',
   'order',
+  'overflow',
+  'overflowX',
+  'overflowY',
   'padding',
   'paddingHorizontal',
   'paddingVertical',
Add overflow, overflowX & overflowY to the valid Box props
