Skip to content

Commit

Permalink
Merge pull request #2809 from SUI-Components/a11y-checkbox-label-wrapper
Browse files Browse the repository at this point in the history
feat(components/atom/checkbox): modify wrapper element syntax
  • Loading branch information
andresin87 authored Jan 20, 2025
2 parents 13f6619 + c755403 commit 0c978be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/atom/checkbox/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const AtomCheckbox = forwardRef(
}

return (
<label
<span
className={cx(
BASE_CLASS,
`${BASE_CLASS}--native-${isNative ? 'enabled' : 'disabled'}`,
Expand Down Expand Up @@ -166,7 +166,7 @@ const AtomCheckbox = forwardRef(
onClick={handleClick}
icon={Icon}
/>
</label>
</span>
)
}
)
Expand Down

0 comments on commit 0c978be

Please sign in to comment.