mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +08:00
Fix WebView automaticallyAdjustContentInsets error
Summary: WebView component's automaticallyAdjustContentInsets prop should be type BOOL. Fixes #251. Closes https://github.com/facebook/react-native/pull/314 Github Author: Jordanna Kwok <jordannakwok@gmail.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
RCT_REMAP_VIEW_PROPERTY(url, URL, NSURL);
|
RCT_REMAP_VIEW_PROPERTY(url, URL, NSURL);
|
||||||
RCT_REMAP_VIEW_PROPERTY(html, HTML, NSString);
|
RCT_REMAP_VIEW_PROPERTY(html, HTML, NSString);
|
||||||
RCT_EXPORT_VIEW_PROPERTY(contentInset, UIEdgeInsets);
|
RCT_EXPORT_VIEW_PROPERTY(contentInset, UIEdgeInsets);
|
||||||
RCT_EXPORT_VIEW_PROPERTY(automaticallyAdjustContentInsets, UIEdgeInsets);
|
RCT_EXPORT_VIEW_PROPERTY(automaticallyAdjustContentInsets, BOOL);
|
||||||
RCT_EXPORT_VIEW_PROPERTY(shouldInjectAJAXHandler, BOOL);
|
RCT_EXPORT_VIEW_PROPERTY(shouldInjectAJAXHandler, BOOL);
|
||||||
|
|
||||||
- (NSDictionary *)constantsToExport
|
- (NSDictionary *)constantsToExport
|
||||||
|
|||||||
Reference in New Issue
Block a user