New “Drop files” icon and title

This commit is contained in:
Artur Paikin 2016-09-24 22:11:28 -04:00
parent b6ae2543b0
commit 68f805380f
2 changed files with 9 additions and 2 deletions

View file

@ -6,7 +6,10 @@ export default (props) => {
return html`<ul class="UppyDashboard-files
${props.totalFileCount === 0 ? 'UppyDashboard-files--noFiles' : ''}">
${props.totalFileCount === 0
? html`<div class="UppyDashboard-bgIcon">${dashboardBgIcon()}</div>`
? html`<div class="UppyDashboard-bgIcon">
${dashboardBgIcon()}
<h4 class="UppyDashboard-dropFilesTitle">Drop or paste files here</h4>
</div>`
: null
}
${Object.keys(props.files).map((fileID) => {

File diff suppressed because one or more lines are too long