styles: make class names BEM and extract sn-dropdown-item style

This commit is contained in:
Antonella Sgarlatta
2021-05-25 16:09:14 -03:00
parent cdf8f60655
commit eb89fe4a01
5 changed files with 37 additions and 23 deletions

View File

@@ -42,7 +42,7 @@ export const Switch: FunctionalComponent<SwitchProps> = (
<span
aria-hidden
className={`sn-switch-handle ${
checked ? 'sn-switch-handle-right' : ''
checked ? 'sn-switch-handle--right' : ''
}`}
/>
</CustomCheckboxContainer>