mirror of
https://github.com/material-components/material-web.git
synced 2026-03-09 00:09:23 +08:00
Part of a series of changes to support text wrapping and host aria for button. PiperOrigin-RevId: 581319862
19 lines
341 B
TypeScript
19 lines
341 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2021 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {html} from 'lit';
|
|
|
|
import {Button} from './button.js';
|
|
|
|
/**
|
|
* An outlined button component.
|
|
*/
|
|
export class OutlinedButton extends Button {
|
|
protected override renderElevationOrOutline() {
|
|
return html`<div class="outline"></div>`;
|
|
}
|
|
}
|