Permalink
Browse files

Add explicit componentControllerClass to CKComponent

Reviewed By: gkassabli

Differential Revision: D6675255

fbshipit-source-id: 761fea66bf8b5fb5e3d45792627afaaf2a407c97
  • Loading branch information...
Antonio Corrado authored and facebook-github-bot committed Jan 10, 2018
1 parent 7f58189 commit ab972708a8dcc9b37c19843f2fe134928a7c7a3f
Showing with 6 additions and 0 deletions.
  1. +6 −0 Libraries/SurfaceHostingComponent/RCTSurfaceHostingComponent.mm
@@ -16,10 +16,16 @@
#import <React/RCTSurface.h>
#import <React/RCTSurfaceView.h>
#import "RCTSurfaceHostingComponentController.h"
#import "RCTSurfaceHostingComponentState.h"
@implementation RCTSurfaceHostingComponent
+ (Class<CKComponentControllerProtocol>)controllerClass
{
return [RCTSurfaceHostingComponentController class];
}
+ (id)initialState
{
return [RCTSurfaceHostingComponentState new];

0 comments on commit ab97270

Please sign in to comment.