42 lines
810 B
C++
42 lines
810 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/components/view/AccessibilityProps.h>
|
|
#include <fabric/core/ShadowNode.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
class AccessibleShadowNode;
|
|
|
|
using SharedAccessibleShadowNode = std::shared_ptr<const AccessibleShadowNode>;
|
|
|
|
class AccessibleShadowNode {
|
|
|
|
public:
|
|
|
|
#pragma mark - Constructors
|
|
|
|
AccessibleShadowNode() = default;
|
|
|
|
AccessibleShadowNode(
|
|
const SharedAccessibilityProps &props
|
|
);
|
|
|
|
AccessibleShadowNode(
|
|
const AccessibleShadowNode &shadowNode,
|
|
const SharedAccessibilityProps &props = nullptr
|
|
);
|
|
};
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|