blob: 4e79622c29db3d35916a8398b8461bcf8571afde [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
var h = require('mercury').h;
var sendFile = require('../../events/send-file');
module.exports = render;
function render(state, channels) {
return h('.file-picker', [
h('input', {
type: 'file',
'ev-event': sendFile(channels.set)
})
]);
}