Przeglądaj źródła

Remove zoomable prop; add zoomDisabled prop

iou90 4 lat temu
rodzic
commit
edcc824c41
1 zmienionych plików z 2 dodań i 3 usunięć
  1. 2
    3
      autoHeightWebView/index.js

+ 2
- 3
autoHeightWebView/index.js Wyświetl plik

@@ -104,7 +104,7 @@ AutoHeightWebView.propTypes = {
104 104
   style: ViewPropTypes.style,
105 105
   customScript: PropTypes.string,
106 106
   customStyle: PropTypes.string,
107
-  zoomable: PropTypes.bool,
107
+  zoomDisabled: PropTypes.bool,
108 108
   scrollEnabledWithZoomedin: PropTypes.bool,
109 109
   // webview props
110 110
   originWhitelist: PropTypes.arrayOf(PropTypes.string),
@@ -116,8 +116,7 @@ AutoHeightWebView.propTypes = {
116 116
 let defaultProps = {
117 117
   showsVerticalScrollIndicator: false,
118 118
   showsHorizontalScrollIndicator: false,
119
-  originWhitelist: ['*'],
120
-  zoomable: true
119
+  originWhitelist: ['*']
121 120
 };
122 121
 
123 122
 Platform.OS === 'android' &&