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