import {LitElement, html, unsafeCSS} from 'lit'; import {customElement, property} from 'lit/decorators.js'; import compentStyle from './app-button.css?inline'; import {classMap} from 'lit/directives/class-map.js'; @customElement('obc-app-button') export class ObcAppButton extends LitElement { @property({type: String}) label = 'Button'; @property({type: Boolean}) checked = false; @property({type: String}) size = 'normal'; override render() { return html`
${this.label}
`; } static override styles = unsafeCSS(compentStyle); } declare global { interface HTMLElementTagNameMap { 'obc-app-button': ObcAppButton; } }