| * Copyright 2017 Google LLC |
| * SPDX-License-Identifier: Apache-2.0 |
| import {LitElement, css, html} from 'lit'; |
| import {customElement, property} from 'lit/decorators.js'; |
| import {grFormStyles} from '../../../styles/gr-form-styles'; |
| interface HTMLElementTagNameMap { |
| 'gr-settings-item': GrSettingsItem; |
| @customElement('gr-settings-item') |
| export class GrSettingsItem extends LitElement { |
| @property({type: String}) |
| @property({type: String}) |
| static override get styles() { |
| margin-bottom: var(--spacing-xxl); |
| const anchor = this.anchor ?? ''; |
| return html`<h2 id=${anchor} class="heading-2">${this.title}</h2>`; |