PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/react-native/scripts/codegen/templates

Просмотр файла: RCTThirdPartyComponentsProviderMM.template

/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */


#import <Foundation/Foundation.h>

#import "RCTThirdPartyComponentsProvider.h"
#import <React/RCTComponentViewProtocol.h>

@implementation RCTThirdPartyComponentsProvider

+ (NSDictionary<NSString *, Class<RCTComponentViewProtocol>> *)thirdPartyFabricComponents
{
  static NSDictionary<NSString *, Class<RCTComponentViewProtocol>> *thirdPartyComponents = nil;
  static dispatch_once_t nativeComponentsToken;

  dispatch_once(&nativeComponentsToken, ^{
    thirdPartyComponents = @{
{thirdPartyComponentsMapping}
    };
  });

  return thirdPartyComponents;
}

@end

Выполнить команду


Для локальной разработки. Не используйте в интернете!