styles: make class names BEM and extract sn-dropdown-item style
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user