forked from AppAndFlow/react-native-safe-area-context
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRNCSafeAreaViewShadowNode.h
More file actions
30 lines (24 loc) · 834 Bytes
/
RNCSafeAreaViewShadowNode.h
File metadata and controls
30 lines (24 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once
#include <jsi/jsi.h>
#include <react/renderer/components/safeareacontext/EventEmitters.h>
#include <react/renderer/components/safeareacontext/Props.h>
#include <react/renderer/components/safeareacontext/RNCSafeAreaViewState.h>
#include <react/renderer/components/view/ConcreteViewShadowNode.h>
namespace facebook {
namespace react {
JSI_EXPORT extern const char RNCSafeAreaViewComponentName[];
/*
* `ShadowNode` for <RNCSafeAreaView> component.
*/
class JSI_EXPORT RNCSafeAreaViewShadowNode final
: public ConcreteViewShadowNode<
RNCSafeAreaViewComponentName,
RNCSafeAreaViewProps,
ViewEventEmitter,
RNCSafeAreaViewState> {
using ConcreteViewShadowNode::ConcreteViewShadowNode;
public:
void adjustLayoutWithState();
};
} // namespace react
} // namespace facebook