material-web/tabs/tabs.ts
Elizabeth Mitchell 5b13b5c05b fix(tabs)!: split md-tab into md-primary-tab and md-secondary-tab
BREAKING CHANGE: remove `variant` attributes and change `md-tab` to `md-primary-tab`, or `md-secondary-tab` if using `variant="secondary"

PiperOrigin-RevId: 561077231
2023-08-29 10:47:55 -07:00

27 lines
513 B
TypeScript

/**
* @license
* Copyright 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {customElement} from 'lit/decorators.js';
import {Tabs} from './internal/tabs.js';
import {styles} from './internal/tabs-styles.css.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];
}