From 57f47721ef6905106d83061f2746828ae86a61e4 Mon Sep 17 00:00:00 2001 From: DIonysos Dajka Date: Wed, 18 Mar 2020 13:07:45 +0100 Subject: [PATCH] fix(Box): Fix overly strict propTypes --- src/Box/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Box/index.js b/src/Box/index.js index 59cc77fc..1dc112d4 100644 --- a/src/Box/index.js +++ b/src/Box/index.js @@ -113,10 +113,7 @@ Box.propTypes = { PropTypes.array, PropTypes.func, ]), - overflow: PropTypes.oneOfType([ - PropTypes.oneOf(['ellipsis', 'wrap']), - PropTypes.array, - ]), + overflow: PropTypes.oneOfType([PropTypes.string, PropTypes.array]), textAlign: PropTypes.oneOfType([ PropTypes.oneOf(['left', 'center', 'right']), PropTypes.array,