mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
30887403ec
Summary: changelog: [internal] LayoutAnimations only animates changes inside View and Paragraph nodes. This diff extends it to any node that's ViewKind. Reviewed By: JoshuaGross Differential Revision: D30603138 fbshipit-source-id: 63ca1e5df420149c4ba66151e97fea419fdfe631
25 lines
653 B
C++
25 lines
653 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/renderer/components/view/ViewShadowNode.h>
|
|
#include <react/renderer/core/ConcreteComponentDescriptor.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
class ViewComponentDescriptor
|
|
: public ConcreteComponentDescriptor<ViewShadowNode> {
|
|
public:
|
|
ViewComponentDescriptor(ComponentDescriptorParameters const ¶meters)
|
|
: ConcreteComponentDescriptor<ViewShadowNode>(parameters) {}
|
|
};
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|