UNPKG

tasmota-esp-web-tools

Version:
18 lines (17 loc) 435 B
import { css } from "lit"; import { ButtonBase } from "@material/mwc-button/mwc-button-base"; import { styles } from "@material/mwc-button/styles.css"; export class EwtButton extends ButtonBase { } EwtButton.styles = [ styles, css ` .mdc-button { min-width: initial; } :host([text-left]) .mdc-button__label { text-align: left; } `, ]; customElements.define("ewt-button", EwtButton);