mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
improve usability
This commit is contained in:
parent
845f8c9cd3
commit
0ce56a0821
@ -115,7 +115,7 @@ var FileDragAndDrop = React.createClass({
|
||||
onDragOver={this.handleDragOver}
|
||||
onDrop={this.handleDrop}
|
||||
onDragEnd={this.handleDragEnd}>
|
||||
{hasFiles ? null : <span>Click or drag to add files</span>}
|
||||
{hasFiles ? null : this.props.multiple ? <span>Click or drag to add files</span> : <span>Click or drag to add a file</span>}
|
||||
<FileDragAndDropPreviewIterator
|
||||
files={this.props.filesToUpload}
|
||||
handleDeleteFile={this.handleDeleteFile}/>
|
||||
|
Loading…
Reference in New Issue
Block a user