jiuyiUniapp/service/node_modules/react-native/ReactCommon/react/nativemodule/defaults/DefaultTurboModules.h

19 lines
461 B
C
Raw Normal View History

2025-02-13 09:59:20 +08:00
/*
* 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.
*/
#include <ReactCommon/TurboModule.h>
namespace facebook::react {
struct DefaultTurboModules {
static std::shared_ptr<TurboModule> getTurboModule(
const std::string& name,
const std::shared_ptr<CallInvoker>& jsInvoker);
};
} // namespace facebook::react