this repo has no description
at main 728 B view raw
1/* 2 * Copyright (c) Meta Platforms, Inc. and affiliates. 3 * 4 * This source code is licensed under the MIT license found in the 5 * LICENSE file in the root directory of this source tree. 6 */ 7 8 9#import <Foundation/Foundation.h> 10 11#import "RCTThirdPartyComponentsProvider.h" 12#import <React/RCTComponentViewProtocol.h> 13 14@implementation RCTThirdPartyComponentsProvider 15 16+ (NSDictionary<NSString *, Class<RCTComponentViewProtocol>> *)thirdPartyFabricComponents 17{ 18 static NSDictionary<NSString *, Class<RCTComponentViewProtocol>> *thirdPartyComponents = nil; 19 static dispatch_once_t nativeComponentsToken; 20 21 dispatch_once(&nativeComponentsToken, ^{ 22 thirdPartyComponents = @{ 23 24 }; 25 }); 26 27 return thirdPartyComponents; 28} 29 30@end