import h from 'lib/h' import * as dom from 'lib/dom' import * as form from 'view/form' export function view(main: Element): Element[] { return [ h('header', { onclick: () => dom.show(form.view()) }, 'Chords' ), main ] }