Files
react-native/ReactCommon/fabric/components/art/text/ARTTextShadowNode.cpp
T
David Vacca 493d616521 Create internal State of ART based on Shadow Nodes
Summary:
This diff creates the internal state of ART based on its shadow nodes

changelog: [Internal]

Reviewed By: JoshuaGross

Differential Revision: D21657607

fbshipit-source-id: 0a15e90ee7465bf3a2b1001ff9d3198eb22fd708
2020-05-21 00:11:50 -07:00

24 lines
552 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.
*/
#include "ARTTextShadowNode.h"
#include <Glog/logging.h>
#include <react/components/art/Text.h>
namespace facebook {
namespace react {
extern const char ARTTextComponentName[] = "ARTText";
Element::Shared ARTTextShadowNode::getElement() const {
// TODO add support for Text
return std::make_shared<Shape>();
}
} // namespace react
} // namespace facebook