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