|
@@ -14,6 +14,13 @@ class DashboardModal extends React.Component {
|
|
const uppy = this.props.uppy
|
|
const uppy = this.props.uppy
|
|
uppy.use(ReactDashboardPlugin, {
|
|
uppy.use(ReactDashboardPlugin, {
|
|
target: this.container,
|
|
target: this.container,
|
|
|
|
+ maxWidth: this.props.maxWidth,
|
|
|
|
+ maxHeight: this.props.maxHeight,
|
|
|
|
+ semiTransparent: this.props.semiTransparent,
|
|
|
|
+ showProgressDetails: this.props.showProgressDetails,
|
|
|
|
+ // TODO Accept a React node here and render it so we can pass a DOM
|
|
|
|
+ // element to this option.
|
|
|
|
+ // defaultTabIcon: this.props.defaultTabIcon,
|
|
onRequestClose: this.props.onRequestClose
|
|
onRequestClose: this.props.onRequestClose
|
|
})
|
|
})
|
|
|
|
|
|
@@ -42,6 +49,11 @@ class DashboardModal extends React.Component {
|
|
|
|
|
|
DashboardModal.propTypes = {
|
|
DashboardModal.propTypes = {
|
|
uppy: React.PropTypes.instanceOf(UppyCore).isRequired,
|
|
uppy: React.PropTypes.instanceOf(UppyCore).isRequired,
|
|
|
|
+ maxWidth: React.PropTypes.number,
|
|
|
|
+ maxHeight: React.PropTypes.number,
|
|
|
|
+ semiTransparent: React.PropTypes.bool,
|
|
|
|
+ defaultTabIcon: React.PropTypes.node,
|
|
|
|
+ showProgressDetails: React.PropTypes.bool,
|
|
onRequestClose: React.PropTypes.func
|
|
onRequestClose: React.PropTypes.func
|
|
}
|
|
}
|
|
|
|
|