/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/react/renderer/components/modal/ModalHostViewState.cpp
19 строк
487 B
Nick Gerleman
RN_SERIALIZABLE_STATE (#51185)
15 май 2025, 02:10
15 май 2025, 02:10
88de631
Код
Авторство
О чём код?
/* * 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 "ModalHostViewState.h" namespace facebook::react { #ifdef RN_SERIALIZABLE_STATE folly::dynamic ModalHostViewState::getDynamic() const { return folly::dynamic::object("screenWidth", screenSize.width)( "screenHeight", screenSize.height); } #endif } // namespace facebook::react