Browse Source

maxWidth/maxHeight --> width/height

Artur Paikin 7 years ago
parent
commit
c8ab41f6a0
2 changed files with 4 additions and 4 deletions
  1. 2 2
      src/react/Dashboard.js
  2. 2 2
      src/react/DashboardModal.js

+ 2 - 2
src/react/Dashboard.js

@@ -43,8 +43,8 @@ Dashboard.propTypes = {
   uppy: PropTypes.instanceOf(UppyCore).isRequired,
   plugins: PropTypes.arrayOf(PropTypes.string),
   inline: PropTypes.bool,
-  maxWidth: PropTypes.number,
-  maxHeight: PropTypes.number,
+  width: PropTypes.number,
+  height: PropTypes.number,
   semiTransparent: PropTypes.bool,
   showProgressDetails: PropTypes.bool,
   hideUploadButton: PropTypes.bool,

+ 2 - 2
src/react/DashboardModal.js

@@ -64,8 +64,8 @@ DashboardModal.propTypes = {
   open: PropTypes.bool,
   onRequestClose: PropTypes.func,
   plugins: PropTypes.arrayOf(PropTypes.string),
-  maxWidth: PropTypes.number,
-  maxHeight: PropTypes.number,
+  width: PropTypes.number,
+  height: PropTypes.number,
   showProgressDetails: PropTypes.bool,
   hideUploadButton: PropTypes.bool,
   note: PropTypes.string,