material-components_materia.../segmentedbutton/lib/outlined-segmented-button.ts
Elizabeth Mitchell e12a7f33da chore: remove internal SSR annotations
PiperOrigin-RevId: 526679441
2023-04-24 10:12:10 -07:00

26 lines
537 B
TypeScript

/**
* @license
* Copyright 2022 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {html} from 'lit';
import {SegmentedButton} from './segmented-button.js';
/**
* TODO(b/265346443): add docs
*/
export class OutlinedSegmentedButton extends SegmentedButton {
protected override getRenderClasses() {
return {
...super.getRenderClasses(),
'md3-segmented-button--outlined': true,
};
}
protected override renderOutline() {
return html`<span class="md3-segmented-button__outline"></span>`;
}
}