Sfoglia il codice sorgente

Remove zoomable prop; add zoomDisabled prop

iou90 5 anni fa
parent
commit
edcc824c41
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. 2
    3
      autoHeightWebView/index.js

+ 2
- 3
autoHeightWebView/index.js Vedi File

@@ -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' &&