GT2/Ejectable/node_modules/react-native/ReactCommon/fabric/components/modal/ModalHostViewState.cpp

22 lines
496 B
C++
Raw Normal View History

2021-08-16 00:14:59 +00:00
/*
* Copyright (c) Facebook, Inc. and its 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 {
namespace react {
#ifdef ANDROID
folly::dynamic ModalHostViewState::getDynamic() const {
return folly::dynamic::object("screenWidth", screenSize.width)(
"screenHeight", screenSize.height);
}
#endif
} // namespace react
} // namespace facebook