2018-03-19 02:04:20 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace facebook {
|
|
|
|
namespace react {
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Defines visibility of the shadow node and partucular layout
|
|
|
|
* engine which should be used for laying out the node.
|
|
|
|
*/
|
2018-04-10 23:37:19 +00:00
|
|
|
enum class DisplayType {
|
2018-03-19 02:04:20 +00:00
|
|
|
None,
|
|
|
|
Flex,
|
|
|
|
Inline,
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* User interface layout direction.
|
|
|
|
*/
|
2018-04-10 23:37:19 +00:00
|
|
|
enum class LayoutDirection {
|
2018-03-19 02:04:20 +00:00
|
|
|
Undefined,
|
|
|
|
LeftToRight,
|
|
|
|
RightToLeft,
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace react
|
|
|
|
} // namespace facebook
|