ソースを参照

Remove zoomable prop; add zoomDisabled prop

iou90 6 年 前
コミット
edcc824c41
共有1 個のファイルを変更した2 個の追加3 個の削除を含む
  1. 2
    3
      autoHeightWebView/index.js

+ 2
- 3
autoHeightWebView/index.js ファイルの表示

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