9ea8653ef7
Had to make various other changes due to incompatibilities. - Use the new `lit` package instead of `lit-html` or `lit-element` - Drop `haunted` since it breaks the rules by specifying `type: module` but then doesn't import with file extensions - Use Sass Dart instead of node-sass (fixes #2445) - Upgrade Karma
8 lines
293 B
JavaScript
8 lines
293 B
JavaScript
import { html } from "lit";
|
|
|
|
export default (o) => html`
|
|
<fieldset class="form-group">
|
|
<input id="${o.id}" name="${o.name}" type="checkbox" ?checked=${o.checked} ?required=${o.required} />
|
|
<label class="form-check-label" for="${o.id}">${o.label}</label>
|
|
</fieldset>`;
|