/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/react/renderer/components/safeareaview/SafeAreaViewState.cpp
19 строк
495 B
Alan Lee
Add Android version of SafeAreaView (#46246)
03 сен 2024, 01:44
03 сен 2024, 01:44
ade863a
Код
Авторство
О чём код?
/* * 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 "SafeAreaViewState.h" namespace facebook::react { #ifdef ANDROID folly::dynamic SafeAreaViewState::getDynamic() const { return folly::dynamic::object("left", padding.left)("top", padding.top)( "right", padding.right)("bottom", padding.bottom); } #endif } // namespace facebook::react