#pragma once #include "RNCAndroidDialogPickerState.h" #include "RNCAndroidDialogPickerMeasurementsManager.h" #include #include #include #include #include #include namespace facebook { namespace react { JSI_EXPORT extern const char RNCAndroidDialogPickerComponentName[]; class JSI_EXPORT RNCAndroidDialogPickerShadowNode final : public ConcreteViewShadowNode< RNCAndroidDialogPickerComponentName, RNCAndroidDialogPickerProps, RNCAndroidDialogPickerEventEmitter, RNCAndroidDialogPickerState> { public: using ConcreteViewShadowNode::ConcreteViewShadowNode; // Associates a shared `RNCAndroidDialogPickerMeasurementsManager` with the node. void setDialogPickerMeasurementsManager( const std::shared_ptr &measurementsManager); #pragma mark - LayoutableShadowNode Size measureContent( LayoutContext const &layoutContext, LayoutConstraints const &layoutConstraints) const override; private: std::shared_ptr measurementsManager_; }; } // namespace react } // namespace facebook