mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-13 19:35:41 +00:00
committed by
Nicolas Gallagher
parent
6739ab95cf
commit
e0cebea073
@@ -116,7 +116,8 @@ const Switch = forwardRef<SwitchProps, *>((props, forwardedRef) => {
|
||||
onFocus: handleFocusState,
|
||||
ref: forwardedRef,
|
||||
style: [styles.nativeControl, styles.cursorInherit],
|
||||
type: 'checkbox'
|
||||
type: 'checkbox',
|
||||
role: 'switch'
|
||||
});
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user