mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
55c36661d9
Summary: Element, Shape, Group, Text are too generic, we are renaming these classes to ARTElement, ARTBGroup, ARTShape... changelog: [Internal] internal changes to support ART in android Reviewed By: JoshuaGross Differential Revision: D21681878 fbshipit-source-id: f6b35443486a3db210f61dcaf91bd32df47fbc66
36 lines
945 B
C++
36 lines
945 B
C++
/*
|
|
* Copyright (c) Facebook, Inc. and its 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 <react/components/art/ARTBaseShadowNode.h>
|
|
#include <react/components/art/ARTElement.h>
|
|
#include <react/components/art/ARTShapeProps.h>
|
|
#include <react/core/ConcreteShadowNode.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
extern const char ARTShapeComponentName[];
|
|
|
|
/*
|
|
* `ShadowNode` for <ARTShape> component.
|
|
*/
|
|
class ARTShapeShadowNode : public ConcreteShadowNode<
|
|
ARTShapeComponentName,
|
|
ShadowNode,
|
|
ARTShapeProps>,
|
|
public ARTBaseShadowNode {
|
|
public:
|
|
using ConcreteShadowNode::ConcreteShadowNode;
|
|
|
|
virtual ARTElement::Shared getARTElement() const override;
|
|
};
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|