// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import './report_view.js'; import * as Lit from '../../lit/lit.js'; import type {ReportData} from './ReportView.js'; const {html} = Lit; const exampleRenderHelper = (key: string, value: string) => html` ${key} ${value} `; export function render(container: HTMLElement) { // clang-format off Lit.render( html` Section 1 Basic plain text field And this is the value A field with a code value SomeCodeValue Section 2 ${exampleRenderHelper('Using a small helper', 'to render report rows')} ${exampleRenderHelper('This wide column defines the column width', 'for all rows')} `, container); // clang-format on }