Skip to content

Instantly share code, notes, and snippets.

@jvanderen1
Created December 1, 2019 20:08
Show Gist options
  • Save jvanderen1/6be8f1a74c0aad95b573b2b6163d8a82 to your computer and use it in GitHub Desktop.
Save jvanderen1/6be8f1a74c0aad95b573b2b6163d8a82 to your computer and use it in GitHub Desktop.
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