Skip to content

Commit

Permalink
Add explicit componentControllerClass to CKComponent
Browse files Browse the repository at this point in the history
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 ab97270
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit ab97270

Please sign in to comment.