From 35a05ae3a45b0eefe7199a2a40b80dce9f5dfa06 Mon Sep 17 00:00:00 2001 From: Maria Hutt Date: Mon, 31 Mar 2025 11:40:39 -0700 Subject: [PATCH] feat(toggle): add switch attribute --- core/src/components/toggle/toggle.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/components/toggle/toggle.tsx b/core/src/components/toggle/toggle.tsx index 8ccdb60d3d..6554a20978 100644 --- a/core/src/components/toggle/toggle.tsx +++ b/core/src/components/toggle/toggle.tsx @@ -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} />