mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
965e60b05a
Summary: Defines `<View>`: Yoga-powered, Accessible and styleable component. Reviewed By: fkgozali Differential Revision: D7230673 fbshipit-source-id: 08a1d8626c0b41260fafdca938d4fe9489b1b793
42 lines
805 B
C++
42 lines
805 B
C++
/**
|
|
* 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
|
|
|
|
#include <memory>
|
|
|
|
#include <fabric/core/ShadowNode.h>
|
|
#include <fabric/view/AccessibilityProps.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
class AccessibleShadowNode;
|
|
|
|
typedef std::shared_ptr<const AccessibleShadowNode> SharedAccessibleShadowNode;
|
|
|
|
class AccessibleShadowNode {
|
|
|
|
public:
|
|
|
|
#pragma mark - Constructors
|
|
|
|
AccessibleShadowNode() = default;
|
|
|
|
AccessibleShadowNode(
|
|
const SharedAccessibilityProps &props
|
|
);
|
|
|
|
AccessibleShadowNode(
|
|
const SharedAccessibleShadowNode &shadowNode,
|
|
const SharedAccessibilityProps &props = nullptr
|
|
);
|
|
};
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|