WebView component's automaticallyAdjustContentInsets prop should be type BOOL. Fixes #251.

This commit is contained in:
Jordanna Kwok 2015-03-26 22:58:55 -07:00
parent 3b7bd7401e
commit 4dac2a9645
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
RCT_REMAP_VIEW_PROPERTY(url, URL, NSURL); RCT_REMAP_VIEW_PROPERTY(url, URL, NSURL);
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