Skip to content

Commit 35a05ae

Browse files
committed
feat(toggle): add switch attribute
1 parent bb40a1e commit 35a05ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/components/toggle/toggle.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ export class Toggle implements ComponentInterface {
396396
onBlur={() => this.onBlur()}
397397
ref={(focusEl) => (this.focusEl = focusEl)}
398398
required={required}
399+
{...({ switch: true } as any)}
399400
{...this.inheritedAttributes}
400401
/>
401402
<div

0 commit comments

Comments
 (0)