mirror of
https://github.com/material-components/material-web.git
synced 2024-08-17 09:30:27 +03:00
chore(switch): remove comment on button content
PiperOrigin-RevId: 629418950
This commit is contained in:
parent
1bf8b5fbf9
commit
2b02497a25
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user