Browse Source

Remove zoomable prop; add zoomDisabled prop

iou90 5 years ago
parent
commit
edcc824c41
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      autoHeightWebView/index.js

+ 2
- 3
autoHeightWebView/index.js View File

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