Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
fix(Box): Fix overly strict propTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
diondiondion committed Mar 18, 2020
1 parent 447677f commit 57f4772
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Box/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 57f4772

Please sign in to comment.