/* * 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 #include namespace facebook { namespace react { extern const char ARTTextComponentName[] = "ARTText"; Element::Shared ARTTextShadowNode::getElement() const { auto props = getConcreteProps(); return std::make_shared( props.opacity, props.transform, props.d, props.stroke, props.strokeDash, props.fill, props.strokeWidth, props.strokeCap, props.strokeJoin, props.alignment, props.frame); } } // namespace react } // namespace facebook