/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/react/renderer/core/LayoutPrimitives.h
40 строк
708 B
Jakub Piasecki
Add support for `display: contents` style (#47035)
19 окт 2024, 08:05
19 окт 2024, 08:05
e5296cf
Код
Авторство
О чём код?
/* * 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. */ #pragma once #include <functional> #include <limits> namespace facebook::react { /* * Defines visibility of the shadow node and particular layout * engine which should be used for laying out the node. */ enum class DisplayType { None = 0, Flex = 1, Contents = 2, }; enum class PositionType { Static = 0, Relative = 1, Absolute = 2, }; /* * User interface layout direction. */ enum class LayoutDirection { Undefined = 0, LeftToRight = 1, RightToLeft = 2, }; } // namespace facebook::react