mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
BREAKING CHANGE: Rename `@material/web/icon/lib` to `@material/web/icon/internal`. Prefer not using internal files. PiperOrigin-RevId: 550579714
27 lines
483 B
TypeScript
27 lines
483 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2022 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
import {Icon} from './internal/icon.js';
|
|
import {styles} from './internal/icon-styles.css.js';
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'md-icon': MdIcon;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @final
|
|
* @suppress {visibility}
|
|
*/
|
|
@customElement('md-icon')
|
|
export class MdIcon extends Icon {
|
|
/** @nocollapse */
|
|
static override styles = [styles];
|
|
}
|