mirror of
https://github.com/material-components/material-web.git
synced 2026-03-09 00:09:23 +08:00
20 lines
434 B
TypeScript
20 lines
434 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2021 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {ClassInfo} from 'lit/directives/class-map.js';
|
|
|
|
import {Button} from './button.js';
|
|
|
|
// tslint:disable-next-line:enforce-comments-on-exported-symbols
|
|
export class TextButton extends Button {
|
|
protected override getRenderClasses(): ClassInfo {
|
|
return {
|
|
...super.getRenderClasses(),
|
|
'md3-button--text': true,
|
|
};
|
|
}
|
|
}
|