diff --git a/index.html b/index.html index 21ca31d799e..0895de56efe 100644 --- a/index.html +++ b/index.html @@ -117,12 +117,14 @@ @implementation MyCustomViewManager +RCT_EXPORT_MODULE() + - (UIView *)view { return [[MyCustomView alloc] init]; } -RCT_EXPORT_VIEW_PROPERTY(myCustomProperty); +RCT_EXPORT_VIEW_PROPERTY(myCustomProperty, NSString); @end