PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/react-native/ReactCommon/react/renderer/core
Просмотр файла: ValueFactoryEventPayload.cpp
/*
* 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 "ValueFactoryEventPayload.h"
namespace facebook::react {
ValueFactoryEventPayload::ValueFactoryEventPayload(ValueFactory factory)
: valueFactory_(std::move(factory)) {}
jsi::Value ValueFactoryEventPayload::asJSIValue(jsi::Runtime& runtime) const {
return valueFactory_(runtime);
}
EventPayloadType ValueFactoryEventPayload::getType() const {
return EventPayloadType::ValueFactory;
}
} // namespace facebook::react
Выполнить команду
Для локальной разработки. Не используйте в интернете!