mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
BREAKING CHANGE: Rename `@material/web/<component>/lib` to `@material/web/<component>/internal`. Prefer not using internal files. PiperOrigin-RevId: 550633216
29 lines
559 B
TypeScript
29 lines
559 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2023 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
import {Tab} from './internal/tab.js';
|
|
import {styles} from './internal/tab-styles.css.js';
|
|
|
|
export {TabVariant} from './internal/tab.js';
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'md-tab': MdTab;
|
|
}
|
|
}
|
|
|
|
// TODO(b/267336507): add docs
|
|
/**
|
|
* @summary Tab allow users to display a tab within a Tabs.
|
|
*
|
|
*/
|
|
@customElement('md-tab')
|
|
export class MdTab extends Tab {
|
|
static override styles = [styles];
|
|
}
|