Created
December 1, 2019 20:08
-
-
Save jvanderen1/6be8f1a74c0aad95b573b2b6163d8a82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TestPage.propTypes = { | |
numCols: PropTypes.number, // from withDatastore | |
numRows: PropTypes.number, // from withDatastore | |
setNumCols: PropTypes.func, // from withDatastore | |
setNumRows: PropTypes.func, // from withDatastore | |
}; | |
TestPage.defaultProps = { | |
numCols: 0, | |
numRows: 0, | |
setNumCols: () => null, | |
setNumRows: () => null, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment