/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/react/renderer/core/RawEvent.cpp
26 строк
715 B
Vincent Riemer
Expose ShadowNodeFamily to RawEvent (#51267)
13 май 2025, 21:23
13 май 2025, 21:23
49002fa
Код
Авторство
О чём код?
/* * 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 "RawEvent.h" namespace facebook::react { RawEvent::RawEvent( std::string type, SharedEventPayload eventPayload, SharedEventTarget eventTarget, std::weak_ptr<const ShadowNodeFamily> shadowNodeFamily, Category category, bool isUnique) : type(std::move(type)), eventPayload(std::move(eventPayload)), eventTarget(std::move(eventTarget)), shadowNodeFamily(std::move(shadowNodeFamily)), category(category), isUnique(isUnique) {} } // namespace facebook::react