mirror of
https://github.com/timvisee/send.git
synced 2026-04-23 22:34:43 -04:00
refactored css, including some markup changes
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
const html = require('choo/html');
|
||||
|
||||
module.exports = function(state, emit) {
|
||||
function download(event) {
|
||||
event.preventDefault();
|
||||
emit('download', state.fileInfo);
|
||||
}
|
||||
|
||||
return html`
|
||||
<div>
|
||||
<button class="btn btn--download"
|
||||
onclick=${download}>${state.translate('downloadButtonLabel')}
|
||||
</button>
|
||||
</div>`;
|
||||
};
|
||||
Reference in New Issue
Block a user