yeet
This commit is contained in:
14
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceShadowNode.cpp
generated
vendored
Normal file
14
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceShadowNode.cpp
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
extern const char RCTARTSurfaceViewComponentName[] = "ARTSurfaceView";
|
||||
|
||||
} // namespace react
|
||||
} // namespace facebook
|
27
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceShadowNode.h
generated
vendored
Normal file
27
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceShadowNode.h
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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/view/ConcreteViewShadowNode.h>
|
||||
#include "RCTARTSurfaceViewProps.h"
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
extern const char RCTARTSurfaceViewComponentName[];
|
||||
|
||||
/*
|
||||
* `ShadowNode` for <ARTSurfaceView> component.
|
||||
*/
|
||||
using RCTARTSurfaceShadowNode = ConcreteViewShadowNode<
|
||||
RCTARTSurfaceViewComponentName,
|
||||
RCTARTSurfaceViewProps,
|
||||
ViewEventEmitter>;
|
||||
|
||||
} // namespace react
|
||||
} // namespace facebook
|
20
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceViewComponentDescriptor.h
generated
vendored
Normal file
20
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceViewComponentDescriptor.h
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* 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/core/ConcreteComponentDescriptor.h>
|
||||
#include "RCTARTSurfaceShadowNode.h"
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
using RCTARTSurfaceComponentDescriptor =
|
||||
ConcreteComponentDescriptor<RCTARTSurfaceShadowNode>;
|
||||
|
||||
} // namespace react
|
||||
} // namespace facebook
|
15
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceViewComponentView.h
generated
vendored
Normal file
15
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceViewComponentView.h
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#import <React/RCTViewComponentView.h>
|
||||
|
||||
/**
|
||||
* UIView class for root <ARTSurfaceView> component.
|
||||
*/
|
||||
@interface RCTARTSurfaceViewComponentView : RCTViewComponentView
|
||||
|
||||
@end
|
41
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceViewComponentView.mm
generated
vendored
Normal file
41
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceViewComponentView.mm
generated
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#import "RCTARTSurfaceViewComponentView.h"
|
||||
#import <react/uimanager/ComponentDescriptorProvider.h>
|
||||
#import "RCTARTSurfaceViewComponentDescriptor.h"
|
||||
|
||||
#import "FBRCTFabricComponentsPlugins.h"
|
||||
|
||||
using namespace facebook::react;
|
||||
|
||||
@implementation RCTARTSurfaceViewComponentView {
|
||||
}
|
||||
|
||||
- (instancetype)initWithFrame:(CGRect)frame
|
||||
{
|
||||
if (self = [super initWithFrame:frame]) {
|
||||
static const auto defaultProps = std::make_shared<const RCTARTSurfaceViewProps>();
|
||||
_props = defaultProps;
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
#pragma mark - RCTComponentViewProtocol
|
||||
|
||||
+ (ComponentDescriptorProvider)componentDescriptorProvider
|
||||
{
|
||||
return concreteComponentDescriptorProvider<RCTARTSurfaceComponentDescriptor>();
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Class<RCTComponentViewProtocol> RCTARTSurfaceViewCls(void)
|
||||
{
|
||||
return RCTARTSurfaceViewComponentView.class;
|
||||
}
|
21
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceViewProps.cpp
generated
vendored
Normal file
21
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceViewProps.cpp
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
/*
|
||||
* 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 "RCTARTSurfaceViewProps.h"
|
||||
|
||||
#include <react/core/propsConversions.h>
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
RCTARTSurfaceViewProps::RCTARTSurfaceViewProps(
|
||||
const RCTARTSurfaceViewProps &sourceProps,
|
||||
const RawProps &rawProps)
|
||||
: ViewProps(sourceProps, rawProps) {}
|
||||
|
||||
} // namespace react
|
||||
} // namespace facebook
|
26
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceViewProps.h
generated
vendored
Normal file
26
node_modules/react-native/React/Fabric/Mounting/ComponentViews/ART/RCTARTSurfaceViewProps.h
generated
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
/*
|
||||
* 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/view/ViewProps.h>
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
class RCTARTSurfaceViewProps final : public ViewProps {
|
||||
public:
|
||||
RCTARTSurfaceViewProps() = default;
|
||||
RCTARTSurfaceViewProps(
|
||||
const RCTARTSurfaceViewProps &sourceProps,
|
||||
const RawProps &rawProps);
|
||||
|
||||
#pragma mark - Props
|
||||
};
|
||||
|
||||
} // namespace react
|
||||
} // namespace facebook
|
Reference in New Issue
Block a user