mirror of
https://github.com/material-components/material-web.git
synced 2024-08-17 17:40:40 +03:00
We are changing the names of these files to reduce similarity with CSS modules and avoid clashing with tooling built around that. If you're importing `*/internal/styles.css.js`, swap to `*/internal/styles.js`. PiperOrigin-RevId: 611265000
30 lines
605 B
TypeScript
30 lines
605 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2023 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {CSSResultOrNative} from 'lit';
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
import {Tabs} from './internal/tabs.js';
|
|
import {styles} from './internal/tabs-styles.js';
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'md-tabs': MdTabs;
|
|
}
|
|
}
|
|
|
|
// TODO(b/267336507): add docs
|
|
/**
|
|
* @summary Tabs displays a list of selectable tabs.
|
|
*
|
|
* @final
|
|
* @suppress {visibility}
|
|
*/
|
|
@customElement('md-tabs')
|
|
export class MdTabs extends Tabs {
|
|
static override styles: CSSResultOrNative[] = [styles];
|
|
}
|