mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: This changes Clang format config to enforce left pointer alignment instead of right, in accordance with https://www.internalfb.com/intern/wiki/Cpp/CppStyle/ Changelog: [Internal] bypass-github-export-checks Reviewed By: sammy-SC Differential Revision: D48952040 fbshipit-source-id: 108329b2f11d2041a31dee3334c7801d69a3f1ad
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
/*
|
|
* Copyright (c) Meta Platforms, Inc. and 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/ConcreteViewShadowNode.h>
|
|
#include <react/renderer/components/view/ViewProps.h>
|
|
#include <react/renderer/core/ConcreteComponentDescriptor.h>
|
|
|
|
namespace facebook::react {
|
|
|
|
/*
|
|
* Descriptor for <UnstableReactLegacyComponent> component.
|
|
*
|
|
* This component is part of the Fabric Interop Layer and is subject to future
|
|
* changes (hence the "Unstable" prefix).
|
|
*/
|
|
template <const char* concreteComponentName>
|
|
class UnstableLegacyViewManagerInteropComponentDescriptor
|
|
: public ConcreteComponentDescriptor<
|
|
ConcreteViewShadowNode<concreteComponentName, ViewProps>> {
|
|
public:
|
|
UnstableLegacyViewManagerInteropComponentDescriptor<concreteComponentName>(
|
|
const ComponentDescriptorParameters& parameters)
|
|
: ConcreteComponentDescriptor<
|
|
ConcreteViewShadowNode<concreteComponentName, ViewProps>>(
|
|
parameters) {}
|
|
|
|
private:
|
|
};
|
|
|
|
} // namespace facebook::react
|