محمد یوردخانی

Results 2 comments of محمد یوردخانی

I have the same problem. Can anyone help ??? SyntaxError: C:\Users\Mohammad\Desktop\test\node_modules\react-native-common\src\components\other\SegmentedControl.js: Unexpected reserved type string (26:30) 24 | static propTypes: { 25 | values: PropTypes.array, > 26 | selectionColor: PropTypes.string,...

1- in vscode open \node_modules\react-native-common\src\components\other\SegmentedControl.js 2- In class SegmentedControl delete the following lines `static propTypes: { values: PropTypes.array, selectionColor: PropTypes.string, selectedIndex: PropTypes.number, onChange: PropTypes.func, titleStyle: PropTypes.any, segmentStyle: PropTypes.any, style: ViewPropTypes.style,...