If you try to set cursor style in our buttons on iOS you'll get unrecognized selector error. This PR sets cursor value to be undefined on iOS, so apps no longer crash.
Fixes #3081
Test plan
Tested on the following code:
```tsx
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { RectButton } from 'react-native-gesture-handler';
export default function EmptyExample() {
return (
Hello World!
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
});
```
Description
If you try to set
cursor
style in our buttons oniOS
you'll getunrecognized selector
error. This PR setscursor
value to be undefined oniOS
, so apps no longer crash.Fixes #3081
Test plan
Tested on the following code:
```tsx import React from 'react'; import { StyleSheet, Text, View } from 'react-native'; import { RectButton } from 'react-native-gesture-handler'; export default function EmptyExample() { return (