feat(toggle): add switch attribute

This commit is contained in:
Maria Hutt
2025-03-31 11:40:39 -07:00
parent bb40a1efe7
commit 35a05ae3a4

View File

@@ -396,6 +396,7 @@ export class Toggle implements ComponentInterface {
onBlur={() => this.onBlur()}
ref={(focusEl) => (this.focusEl = focusEl)}
required={required}
{...({ switch: true } as any)}
{...this.inheritedAttributes}
/>
<div