const html = require('choo/html'); const file = require('../file'); module.exports = function(state, emit) { if (state.storage.files.length) { return html` ${state.storage.files.map(f => file(f, state, emit))}
${state.translate('uploadedFile')} ${state.translate('copyFileList')} ${state.translate('timeFileList')} ${state.translate('downloadsFileList')} ${state.translate('deleteFileList')}
`; } };