mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: ## Changelog: [Internal] [Changed] - Fix license comment block in ReactCxxPlatform code Reviewed By: rshest Differential Revision: D72802801 fbshipit-source-id: 987a532bfe10d66db0aa2dad687d064225fa609d
22 lines
486 B
C++
22 lines
486 B
C++
/*
|
|
* 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.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <folly/dynamic.h>
|
|
#include <functional>
|
|
#include <string>
|
|
|
|
namespace facebook::react {
|
|
|
|
using JavaScriptModuleCallback = std::function<void(
|
|
const std::string& moduleName,
|
|
const std::string& methodName,
|
|
folly::dynamic&& args)>;
|
|
|
|
} // namespace facebook::react
|