mirror of
https://github.com/material-components/material-web.git
synced 2024-09-17 16:48:02 +03:00
b74e3dd2e3
PiperOrigin-RevId: 612946796
21 lines
395 B
TypeScript
21 lines
395 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2021 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import '../../elevation/elevation.js';
|
|
|
|
import {html} from 'lit';
|
|
|
|
import {Button} from './button.js';
|
|
|
|
/**
|
|
* A filled button component.
|
|
*/
|
|
export class FilledButton extends Button {
|
|
protected override renderElevationOrOutline() {
|
|
return html`<md-elevation part="elevation"></md-elevation>`;
|
|
}
|
|
}
|