Skip to content

Commit

Permalink
Merge pull request nathancahill#555 from avigoldman/patch-2
Browse files Browse the repository at this point in the history
Swap arrayOf with objectOf
  • Loading branch information
nathancahill authored Nov 30, 2021
2 parents 34d2d2a + 0b6c126 commit f928e36
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/react-split-grid/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,10 @@ ReactSplitGrid.propTypes = {
children: PropTypes.element,
gridTemplateColumns: PropTypes.string,
gridTemplateRows: PropTypes.string,
columnMinSizes: PropTypes.arrayOf(PropTypes.number),
rowMinSizes: PropTypes.arrayOf(PropTypes.number),
columnMaxSizes: PropTypes.arrayOf(PropTypes.number),
rowMaxSizes: PropTypes.arrayOf(PropTypes.number),
columnMinSizes: PropTypes.objectOf(PropTypes.number),
rowMinSizes: PropTypes.objectOf(PropTypes.number),
columnMaxSizes: PropTypes.objectOf(PropTypes.number),
rowMaxSizes: PropTypes.objectOf(PropTypes.number),
onDrag: PropTypes.func,
}

Expand Down

0 comments on commit f928e36

Please sign in to comment.