chore(switch): remove comment on button content

PiperOrigin-RevId: 629418950
This commit is contained in:
Elizabeth Mitchell 2024-04-30 08:20:17 -07:00 committed by Copybara-Service
parent 1bf8b5fbf9
commit 2b02497a25

View File

@ -100,9 +100,6 @@ export class Switch extends switchBaseClass {
}
protected override render(): TemplateResult {
// NOTE: buttons must use only [phrasing
// content](https://html.spec.whatwg.org/multipage/dom.html#phrasing-content)
// children, which includes custom elements, but not `div`s
return html`
<div class="switch ${classMap(this.getRenderClasses())}">
<input