#pragma once #if defined(RCT_NEW_ARCH_ENABLED) && REACT_NATIVE_MINOR_VERSION >= 73 #include "PropsRegistry.h" #include #include namespace reanimated { using namespace facebook::react; class ReanimatedMountHook : public UIManagerMountHook { public: ReanimatedMountHook( const std::shared_ptr &propsRegistry, const std::shared_ptr &uiManager); ~ReanimatedMountHook() noexcept override; void shadowTreeDidMount( RootShadowNode::Shared const &rootShadowNode, double mountTime) noexcept override; private: const std::shared_ptr propsRegistry_; const std::shared_ptr uiManager_; }; } // namespace reanimated #endif // defined(RCT_NEW_ARCH_ENABLED) && REACT_NATIVE_MINOR_VERSION >= 73