import {html} from './html' import {repeat} from 'lit-html/lib/repeat' import {href} from './href' interface Options { className?: string } export const template = (tags: Array, opts?: Options) => { const {className = 'tags'} = opts || {} return html`${repeat(tags, tag => html`${tag}`)}` }